Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001867/0.001867, 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.002551/0.002551, allocations: 212.4 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2434/0.2434, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002095/0.002095, allocations: 67.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003357/0.3461, allocations: 1.788 MB / 0.5588 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.348, allocations: 1.041 MB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.3481, allocations: 0 / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.3487, allocations: 315.2 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.3492, allocations: 263.2 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3494, allocations: 107.7 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.3498, allocations: 271.2 kB / 0.5607 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.3498, allocations: 5.812 kB / 0.5607 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.35, allocations: 127.5 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.3503, allocations: 219.5 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.3503, allocations: 4 kB / 0.561 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3504, allocations: 51.92 kB / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3506, allocations: 147.5 kB / 0.5612 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3507, allocations: 111.1 kB / 0.5613 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3512, allocations: 384.1 kB / 0.5617 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3512, allocations: 0 / 0.5617 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3512, allocations: 0 / 0.5617 GB, free: 2.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3512, allocations: 0 / 0.5617 GB, free: 2.707 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.0009804/0.3521, allocations: 0.6863 MB / 0.5624 GB, free: 1.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3522, allocations: 8.031 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3522, allocations: 42.73 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.3523, allocations: 48.61 kB / 0.5625 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.3529, allocations: 398.5 kB / 0.5629 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.353, allocations: 4.375 kB / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.353, allocations: 7.938 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3532, allocations: 87.3 kB / 0.5629 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3532, allocations: 0 / 0.5629 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3532, allocations: 8 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3532, allocations: 0 / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3533, allocations: 31.97 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3538, allocations: 337.4 kB / 0.5633 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3541, allocations: 113.1 kB / 0.5634 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.3542, allocations: 41.69 kB / 0.5635 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3542, allocations: 0 / 0.5635 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.3544, allocations: 117 kB / 0.5636 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3544, allocations: 0 / 0.5636 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005187/0.3549, allocations: 205.2 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.355, allocations: 81.11 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3562, allocations: 1.062 MB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3562, allocations: 33.7 kB / 0.5649 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3564, allocations: 236.1 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.3565, allocations: 31.8 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.3565, allocations: 25.72 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3567, allocations: 370.8 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.3568, allocations: 35.98 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3569, allocations: 59.34 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3571, allocations: 95.36 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3571, allocations: 3.938 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003247/0.3575, allocations: 185.7 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3575, allocations: 4 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3575, allocations: 4 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3575, allocations: 0 / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3576, allocations: 19.98 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3576, allocations: 4 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.3577, allocations: 19.98 kB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3577, allocations: 4 kB / 0.566 GB, free: 14.09 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002298/0.358, allocations: 229.6 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.358, allocations: 59.61 kB / 0.5662 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3584, allocations: 201.8 kB / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3584, allocations: 4 kB / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3584, allocations: 0 / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3584, allocations: 0 / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3589, allocations: 296.5 kB / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3589, allocations: 4 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.3589, allocations: 15.98 kB / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3589, allocations: 0 / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3589, allocations: 0 / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3589, allocations: 4 kB / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3589, allocations: 0 / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3593, allocations: 229.4 kB / 0.567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3595, allocations: 71.53 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.3595, allocations: 4 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.3596, allocations: 4.188 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3597, allocations: 23.97 kB / 0.5671 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3597, allocations: 4 kB / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009377/0.3606, allocations: 0.7878 MB / 0.5678 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 0.5678 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3609, allocations: 48 kB / 0.5679 GB, free: 12.05 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002217/0.3631, allocations: 1.089 MB / 0.5689 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.3634, allocations: 83.95 kB / 0.569 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3634, allocations: 8 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3635, allocations: 48.16 kB / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3639, allocations: 70.17 kB / 0.5691 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.37, allocations: 4.586 MB / 0.5736 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3703, allocations: 245.7 kB / 0.5738 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.3705, allocations: 62.92 kB / 0.5739 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3707, allocations: 155.4 kB / 0.5741 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3707, allocations: 0 / 0.5741 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.4083, allocations: 9.989 MB / 0.5838 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 22.02 kB / 0.5838 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.109632859006524]