Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0015/0.0015, allocations: 215.8 kB / 23.73 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2208/0.2208, allocations: 44.93 MB / 358.8 MB, free: 6.07 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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",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.003534/0.003534, allocations: 71.91 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3621, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00398/0.3661, allocations: 2.17 MB / 0.5592 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3687, allocations: 1.267 MB / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3689, allocations: 4 kB / 0.5604 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.3693, allocations: 139.2 kB / 0.5605 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.3699, allocations: 270.9 kB / 0.5608 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.3703, allocations: 187.5 kB / 0.561 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.3709, allocations: 474.6 kB / 0.5614 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.371, allocations: 47.06 kB / 0.5615 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.3715, allocations: 335 kB / 0.5618 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.3717, allocations: 167.1 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.3717, allocations: 20 kB / 0.562 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3719, allocations: 75.97 kB / 0.562 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3721, allocations: 159.4 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3723, allocations: 146.7 kB / 0.5623 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.373, allocations: 497.4 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.373, allocations: 0 / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.373, allocations: 0 / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.373, allocations: 0 / 0.5628 GB, free: 1.59 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001415/0.3745, allocations: 0.8418 MB / 0.5636 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3745, allocations: 16.03 kB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.3746, allocations: 46.73 kB / 0.5637 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.3747, allocations: 72.47 kB / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.3754, allocations: 367 kB / 0.5641 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3754, allocations: 12.38 kB / 0.5641 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.3754, allocations: 19.89 kB / 0.5641 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.3759, allocations: 201.4 kB / 0.5643 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3759, allocations: 0 / 0.5643 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3759, allocations: 11.98 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.3759, allocations: 8 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.3762, allocations: 99.86 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3774, allocations: 0.785 MB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3781, allocations: 238.5 kB / 0.5654 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3783, allocations: 91.45 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3783, allocations: 8 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.3788, allocations: 204.5 kB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.3788, allocations: 0 / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00276/0.3815, allocations: 1.23 MB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3816, allocations: 140.5 kB / 0.5671 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3828, allocations: 0.977 MB / 0.568 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3829, allocations: 37.7 kB / 0.5681 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3831, allocations: 281 kB / 0.5683 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3832, allocations: 146.8 kB / 0.5685 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3834, allocations: 78.08 kB / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3836, allocations: 322 kB / 0.5688 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3838, allocations: 120.8 kB / 0.569 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.3841, allocations: 191.1 kB / 0.5691 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.3847, allocations: 327 kB / 0.5695 GB, free: 10.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3847, allocations: 4 kB / 0.5695 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008956/0.3856, allocations: 460.9 kB / 0.5699 GB, free: 9.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3857, allocations: 4 kB / 0.5699 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3857, allocations: 4 kB / 0.5699 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.3857, allocations: 4 kB / 0.5699 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.386, allocations: 87.89 kB / 0.57 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.386, allocations: 11.88 kB / 0.57 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3862, allocations: 23.92 kB / 0.57 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3862, allocations: 16 kB / 0.57 GB, free: 9.836 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000321/0.3865, allocations: 264.3 kB / 0.5703 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3867, allocations: 79.42 kB / 0.5704 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3878, allocations: 0.5343 MB / 0.5709 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.3878, allocations: 4 kB / 0.5709 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.3878, allocations: 7.938 kB / 0.5709 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3878, allocations: 3.984 kB / 0.5709 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.3898, allocations: 1.306 MB / 0.5722 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3898, allocations: 4 kB / 0.5722 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.39, allocations: 72.22 kB / 0.5723 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.39, allocations: 4 kB / 0.5723 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3901, allocations: 15.98 kB / 0.5723 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3901, allocations: 8 kB / 0.5723 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3901, allocations: 7.875 kB / 0.5723 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3911, allocations: 0.836 MB / 0.5731 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.3913, allocations: 119.4 kB / 0.5732 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.3914, allocations: 16 kB / 0.5732 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3917, allocations: 19.98 kB / 0.5733 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3918, allocations: 47.81 kB / 0.5733 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.3918, allocations: 27.98 kB / 0.5733 GB, free: 6.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008786/0.3927, allocations: 0.7138 MB / 0.574 GB, free: 5.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3927, allocations: 0 / 0.574 GB, free: 5.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.3933, allocations: 95.92 kB / 0.5741 GB, free: 5.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003531/0.3968, allocations: 1.842 MB / 0.5759 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007536/0.3976, allocations: 315.5 kB / 0.5762 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3976, allocations: 0 / 0.5762 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.3979, allocations: 164 kB / 0.5764 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.3989, allocations: 135.6 kB / 0.5765 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.4061, allocations: 5.187 MB / 0.5816 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4065, allocations: 322 kB / 0.5819 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.4067, allocations: 83.23 kB / 0.582 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.4071, allocations: 215.3 kB / 0.5822 GB, free: 13.29 MB / 430.1 MB Notification: Performance of SimCode: time 2.014e-06/0.4071, allocations: 0 / 0.5822 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.4495, allocations: 12.64 MB / 0.5945 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.07, allocations: 6.438 kB / 0.5945 GB, free: 0.75 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 15.163379895035177]