Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002006/0.002006, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002375/0.002375, allocations: 213.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.93 MB / 360.8 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 83.88 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3909, allocations: 66.08 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003357/0.3942, allocations: 1.741 MB / 0.5625 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3961, allocations: 1.049 MB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.3962, allocations: 4 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.3965, allocations: 39.77 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3968, allocations: 95.55 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.397, allocations: 83.66 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.3971, allocations: 107.7 kB / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.3972, allocations: 9.766 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3973, allocations: 51.77 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.3974, allocations: 35.8 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3974, allocations: 4 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.3975, allocations: 39.98 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3976, allocations: 23.91 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.3976, allocations: 35.73 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.3978, allocations: 123.4 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3978, allocations: 0 / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3978, allocations: 0 / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3978, allocations: 0 / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005297/0.3984, allocations: 353.5 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3984, allocations: 12.03 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.3985, allocations: 30.75 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3985, allocations: 8.891 kB / 0.5645 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3988, allocations: 158.9 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3988, allocations: 384 / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3988, allocations: 4.375 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3989, allocations: 57.8 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3989, allocations: 4 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.399, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.399, allocations: 7.984 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.399, allocations: 15.94 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3995, allocations: 264 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3996, allocations: 46.69 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.3997, allocations: 24.84 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3997, allocations: 0 / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3999, allocations: 71.33 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3999, allocations: 3.938 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006205/0.4005, allocations: 177.5 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4006, allocations: 55.39 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.4008, allocations: 206.3 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4008, allocations: 25.7 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.4009, allocations: 108.1 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4009, allocations: 23.8 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.401, allocations: 25.7 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4012, allocations: 326.8 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.4012, allocations: 20 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.4013, allocations: 41.64 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4015, allocations: 65.64 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4015, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002198/0.4017, allocations: 97.58 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4017, allocations: 7.938 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4017, allocations: 4 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4017, allocations: 0 / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4018, allocations: 16.03 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4018, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.4019, allocations: 11.98 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4019, allocations: 4 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.402, allocations: 125.6 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4021, allocations: 11.91 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.4024, allocations: 123.1 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4024, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4024, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4024, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.4029, allocations: 374.4 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4029, allocations: 0 / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4029, allocations: 11.98 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4029, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4029, allocations: 4 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4029, allocations: 3.938 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4029, allocations: 0 / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.4033, allocations: 212.2 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.4033, allocations: 11.94 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.4033, allocations: 8 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.4034, allocations: 3.938 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4034, allocations: 7.984 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4034, allocations: 4 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.4036, allocations: 152.2 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4036, allocations: 0 / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.4039, allocations: 23.94 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/0.4062, allocations: 1.087 MB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.4064, allocations: 63.84 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4064, allocations: 0 / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.4064, allocations: 23.98 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4068, allocations: 28.42 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.4091, allocations: 1.661 MB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.4095, allocations: 0.708 MB / 0.5708 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.509e-05/0.4096, allocations: 8.984 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.4097, allocations: 39.41 kB / 0.5709 GB, free: 9.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4097, allocations: 4 kB / 0.5709 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.4417, allocations: 3.624 MB / 0.5744 GB, free: 6.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.55, allocations: 2.5 kB / 0.5744 GB, free: 6.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.695111053064466]