Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00167/0.00167, 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.001643/0.001643, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2313/0.2313, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.002355/0.002355, allocations: 59.91 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3621, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00355/0.3656, allocations: 1.716 MB / 0.5587 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3683, allocations: 1.665 MB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.3684, allocations: 7.938 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3687, allocations: 27.83 kB / 0.5604 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.369, allocations: 103.5 kB / 0.5605 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3692, allocations: 71.69 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.3694, allocations: 115.6 kB / 0.5606 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3696, allocations: 13.83 kB / 0.5607 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.3696, allocations: 47.78 kB / 0.5607 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3698, allocations: 39.77 kB / 0.5607 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.3698, allocations: 4 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.37, allocations: 107.9 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.37, allocations: 19.86 kB / 0.5609 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.3701, allocations: 27.86 kB / 0.5609 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.3704, allocations: 167.4 kB / 0.5611 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3704, allocations: 0 / 0.5611 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3704, allocations: 4 kB / 0.5611 GB, free: 3.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3704, allocations: 0 / 0.5611 GB, free: 3.371 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.0005959/0.371, allocations: 357.4 kB / 0.5614 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.371, allocations: 8.031 kB / 0.5614 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.3711, allocations: 30.75 kB / 0.5614 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.3711, allocations: 20.84 kB / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3714, allocations: 152.2 kB / 0.5616 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3714, allocations: 4 kB / 0.5616 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3714, allocations: 4 kB / 0.5616 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3717, allocations: 93.09 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3717, allocations: 0 / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3717, allocations: 0 / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3717, allocations: 4 kB / 0.5617 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.3718, allocations: 23.92 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3722, allocations: 256 kB / 0.562 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3723, allocations: 58.69 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.3724, allocations: 20.84 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3724, allocations: 0 / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3726, allocations: 71.33 kB / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3726, allocations: 0 / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005783/0.3732, allocations: 193.2 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3732, allocations: 81.05 kB / 0.5624 GB, free: 1.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.3734, allocations: 170.1 kB / 0.5625 GB, free: 1.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3734, allocations: 33.7 kB / 0.5626 GB, free: 1.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.3735, allocations: 100.1 kB / 0.5627 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3735, allocations: 27.75 kB / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.3736, allocations: 21.7 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3737, allocations: 318.8 kB / 0.563 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.3738, allocations: 23.98 kB / 0.563 GB, free: 1.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.3739, allocations: 72.2 kB / 0.5631 GB, free: 1.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.374, allocations: 69.7 kB / 0.5632 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.374, allocations: 0 / 0.5632 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.3742, allocations: 109.6 kB / 0.5633 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3743, allocations: 4 kB / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3743, allocations: 0 / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3743, allocations: 0 / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3744, allocations: 27.92 kB / 0.5633 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3744, allocations: 0 / 0.5633 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.3744, allocations: 4 kB / 0.5633 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3744, allocations: 0 / 0.5633 GB, free: 0.8281 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 (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.0001137/0.3745, allocations: 121.8 kB / 0.5634 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3746, allocations: 15.97 kB / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3748, allocations: 122.3 kB / 0.5636 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3748, allocations: 7.938 kB / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3748, allocations: 0 / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3748, allocations: 0 / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.3754, allocations: 362.4 kB / 0.5639 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3754, allocations: 4.312 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.3754, allocations: 11.94 kB / 0.5639 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3754, allocations: 4 kB / 0.5639 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3754, allocations: 12.3 kB / 0.5639 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3754, allocations: 4 kB / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3754, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3757, allocations: 220.2 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3758, allocations: 15.88 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3758, allocations: 8 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.3759, allocations: 0 / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3759, allocations: 7.984 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3759, allocations: 4 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3761, allocations: 131.2 kB / 0.5643 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3761, allocations: 0 / 0.5643 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.3764, allocations: 51.81 kB / 0.5644 GB, free: 15.66 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 (9): * Single equations (assignments): 7 * 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.002649/0.379, allocations: 1.232 MB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3792, allocations: 67.84 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3792, allocations: 4.062 kB / 0.5656 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3793, allocations: 27.92 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3797, allocations: 41.33 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3817, allocations: 1.601 MB / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.3818, allocations: 81.33 kB / 0.5673 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.3818, allocations: 25.33 kB / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.3819, allocations: 39.41 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3819, allocations: 0 / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.4253, allocations: 4.735 MB / 0.572 GB, free: 7.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 15.61 kB / 0.572 GB, free: 7.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.777868886012584]