Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001762/0.001762, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002113/0.002113, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2322/0.2322, allocations: 44.93 MB / 358.9 MB, free: 6.027 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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.002104/0.002104, allocations: 74.55 kB / 0.4931 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003638/0.3623, allocations: 1.868 MB / 0.5589 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3644, allocations: 1.077 MB / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.3645, allocations: 3.938 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.365, allocations: 231.3 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.3656, allocations: 215.2 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3659, allocations: 115.6 kB / 0.5605 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.3662, allocations: 267.2 kB / 0.5607 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3663, allocations: 15.8 kB / 0.5607 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3665, allocations: 119.6 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3668, allocations: 175.4 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.3668, allocations: 8 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.367, allocations: 59.98 kB / 0.5611 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.3671, allocations: 63.77 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.3672, allocations: 75.34 kB / 0.5612 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.3675, allocations: 246.9 kB / 0.5614 GB, free: 2.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3675, allocations: 0 / 0.5614 GB, free: 2.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3675, allocations: 0 / 0.5614 GB, free: 2.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3675, allocations: 0 / 0.5614 GB, free: 2.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007822/0.3683, allocations: 0.5002 MB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3684, allocations: 15.97 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.3684, allocations: 38.73 kB / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.3685, allocations: 32.75 kB / 0.562 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.3689, allocations: 222.5 kB / 0.5622 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3689, allocations: 8.375 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.3689, allocations: 11.92 kB / 0.5622 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3692, allocations: 118 kB / 0.5624 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3692, allocations: 4 kB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3693, allocations: 0 / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3693, allocations: 4 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3694, allocations: 51.95 kB / 0.5624 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.37, allocations: 443.9 kB / 0.5628 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.3704, allocations: 125.1 kB / 0.563 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3705, allocations: 41.83 kB / 0.563 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3706, allocations: 4 kB / 0.563 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.3708, allocations: 121.1 kB / 0.5631 GB, free: 1.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3708, allocations: 0 / 0.5631 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001374/0.3722, allocations: 0.5208 MB / 0.5636 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3723, allocations: 81.11 kB / 0.5637 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.3728, allocations: 456.5 kB / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.3728, allocations: 29.7 kB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.373, allocations: 164.5 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3731, allocations: 75.41 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.3731, allocations: 49.7 kB / 0.5644 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3733, allocations: 338.8 kB / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3735, allocations: 59.97 kB / 0.5648 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3736, allocations: 95.33 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3739, allocations: 167.3 kB / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3739, allocations: 0 / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004375/0.3744, allocations: 253.5 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3744, allocations: 6.656 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3744, allocations: 0 / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3744, allocations: 4 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3746, allocations: 43.92 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3746, allocations: 4.234 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.3747, allocations: 11.94 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3747, allocations: 15.98 kB / 0.5654 GB, free: 14.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001824/0.3749, allocations: 166.3 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3749, allocations: 35.81 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.3756, allocations: 276.3 kB / 0.5659 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3756, allocations: 4 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3756, allocations: 3.938 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3756, allocations: 7.938 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3768, allocations: 0.7068 MB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3768, allocations: 0 / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3769, allocations: 40.05 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3769, allocations: 4 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3769, allocations: 8 kB / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3769, allocations: 0 / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3769, allocations: 11.88 kB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.3775, allocations: 439.4 kB / 0.567 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.3776, allocations: 31.77 kB / 0.5671 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.3776, allocations: 4 kB / 0.5671 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3778, allocations: 15.92 kB / 0.5671 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3778, allocations: 27.97 kB / 0.5671 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.3779, allocations: 8 kB / 0.5671 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.3783, allocations: 339 kB / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3783, allocations: 0 / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.3786, allocations: 51.92 kB / 0.5675 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003079/0.3817, allocations: 1.437 MB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3821, allocations: 167.8 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3821, allocations: 0 / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3823, allocations: 83.78 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.383, allocations: 60.45 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.3873, allocations: 2.913 MB / 0.572 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3875, allocations: 162.1 kB / 0.5722 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3876, allocations: 41.92 kB / 0.5722 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3878, allocations: 99.41 kB / 0.5723 GB, free: 7.543 MB / 414.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3878, allocations: 0 / 0.5723 GB, free: 7.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.4268, allocations: 7.258 MB / 0.5794 GB, free: 368 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 10.22 kB / 0.5794 GB, free: 364 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.890086370054632]