Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 63.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3753, allocations: 65.48 MB / 0.5579 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003834/0.3792, allocations: 1.766 MB / 0.5596 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3811, allocations: 1.045 MB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.3812, allocations: 3.938 kB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.3816, allocations: 95.67 kB / 0.5607 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.382, allocations: 115.6 kB / 0.5608 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3822, allocations: 83.66 kB / 0.5609 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3824, allocations: 119.6 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3826, allocations: 17.8 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3827, allocations: 59.77 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3828, allocations: 79.72 kB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3829, allocations: 4 kB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.383, allocations: 63.92 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.3831, allocations: 27.91 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.3831, allocations: 43.62 kB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3834, allocations: 143.4 kB / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3834, allocations: 0 / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3834, allocations: 0 / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3834, allocations: 0 / 0.5614 GB, free: 4.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007037/0.3841, allocations: 385.3 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3842, allocations: 8.031 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.3842, allocations: 4.188 kB / 0.5618 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.3842, allocations: 30.75 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3843, allocations: 16.83 kB / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3846, allocations: 167 kB / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3846, allocations: 4.125 kB / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3847, allocations: 8 kB / 0.562 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3848, allocations: 69.64 kB / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3849, allocations: 0 / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3849, allocations: 0 / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3849, allocations: 0 / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.385, allocations: 23.97 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3854, allocations: 279.8 kB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3857, allocations: 50.56 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.3857, allocations: 24.97 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3857, allocations: 0 / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.3859, allocations: 67.39 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3859, allocations: 3.938 kB / 0.5625 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008457/0.3868, allocations: 257.2 kB / 0.5628 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3868, allocations: 55.41 kB / 0.5628 GB, free: 2.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3871, allocations: 234.9 kB / 0.563 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3871, allocations: 33.7 kB / 0.5631 GB, free: 2.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3872, allocations: 108.1 kB / 0.5632 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3872, allocations: 39.73 kB / 0.5632 GB, free: 2.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3873, allocations: 25.7 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3874, allocations: 326.8 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.3875, allocations: 31.98 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.3876, allocations: 45.7 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3878, allocations: 77.64 kB / 0.5637 GB, free: 1.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3878, allocations: 0 / 0.5637 GB, free: 1.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002319/0.388, allocations: 125.6 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.388, allocations: 11.94 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.388, allocations: 0 / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.388, allocations: 7.969 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.3881, allocations: 23.88 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3881, allocations: 7.984 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.3882, allocations: 4 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3882, allocations: 4 kB / 0.5639 GB, free: 1.391 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001361/0.3883, allocations: 129.8 kB / 0.564 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3884, allocations: 15.91 kB / 0.564 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.3887, allocations: 147.8 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.3887, allocations: 11.94 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3887, allocations: 0 / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3887, allocations: 3.984 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.3893, allocations: 427.1 kB / 0.5646 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3893, allocations: 0 / 0.5646 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/0.3893, allocations: 15.98 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3893, allocations: 0 / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3893, allocations: 7.938 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3893, allocations: 4.062 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3893, allocations: 0 / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3896, allocations: 241 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3896, allocations: 11.91 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3897, allocations: 4 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.3898, allocations: 8 kB / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3898, allocations: 7.984 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3898, allocations: 4 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.39, allocations: 179.2 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.39, allocations: 0 / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3903, allocations: 31.92 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002537/0.3928, allocations: 1.181 MB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.393, allocations: 71.91 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.393, allocations: 0 / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.3931, allocations: 39.98 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3935, allocations: 34.89 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3958, allocations: 1.854 MB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3962, allocations: 0.7158 MB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.3963, allocations: 20.62 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.3964, allocations: 47.42 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3964, allocations: 0 / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.4214, allocations: 4.174 MB / 0.573 GB, free: 8.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 3.984 kB / 0.573 GB, free: 8.074 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.965759974962566]