Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.00132/0.00132, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.002471/0.002471, allocations: 209 kB / 23.74 MB, free: 4.691 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2323/0.2323, allocations: 44.91 MB / 358.8 MB, free: 6.375 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.00322/0.00322, allocations: 75.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4387, allocations: 65.48 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004013/0.4427, allocations: 1.977 MB / 0.559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.4451, allocations: 1.231 MB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4452, allocations: 0 / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.446, allocations: 203.3 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.4465, allocations: 207.3 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.447, allocations: 159.6 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.4474, allocations: 271.2 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4475, allocations: 16.58 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.4477, allocations: 115.5 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.4479, allocations: 127.4 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.4479, allocations: 8 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4481, allocations: 67.95 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.4481, allocations: 55.83 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.4482, allocations: 91.34 kB / 0.5615 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.4486, allocations: 240.8 kB / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4486, allocations: 0 / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4486, allocations: 0 / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4486, allocations: 3.938 kB / 0.5617 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009305/0.4496, allocations: 0.4906 MB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4496, allocations: 12.03 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.4497, allocations: 38.73 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.4497, allocations: 28.8 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.4501, allocations: 234.5 kB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4501, allocations: 8.297 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.4501, allocations: 7.938 kB / 0.5625 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.4504, allocations: 112.1 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4504, allocations: 3.984 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4504, allocations: 4 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4504, allocations: 4 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4505, allocations: 35.98 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.4511, allocations: 352.6 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.4514, allocations: 113.2 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.4515, allocations: 37.7 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.4516, allocations: 4 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.4518, allocations: 117.1 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4518, allocations: 0 / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004919/0.4523, allocations: 177.4 kB / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.4524, allocations: 114.8 kB / 0.5635 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.4528, allocations: 352.5 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.4528, allocations: 25.7 kB / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.453, allocations: 144.1 kB / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.453, allocations: 35.73 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.4531, allocations: 29.72 kB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4533, allocations: 346.7 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.4533, allocations: 31.92 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.4535, allocations: 77.08 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.4537, allocations: 103.9 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4537, allocations: 4 kB / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000288/0.454, allocations: 141.5 kB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.454, allocations: 4 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.454, allocations: 0 / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.454, allocations: 12 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4541, allocations: 23.92 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4541, allocations: 7.984 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.4542, allocations: 23.81 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4543, allocations: 4 kB / 0.5648 GB, free: 15.5 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001518/0.4544, allocations: 145.8 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4545, allocations: 31.81 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.4548, allocations: 167.4 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4548, allocations: 0 / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4548, allocations: 256 / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4548, allocations: 3.938 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.4551, allocations: 232.6 kB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4551, allocations: 0 / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.4551, allocations: 11.94 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4551, allocations: 0 / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4552, allocations: 7.984 kB / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4552, allocations: 0 / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4552, allocations: 0 / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.4555, allocations: 197.6 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.4555, allocations: 27.78 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4556, allocations: 0 / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.4556, allocations: 8 kB / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4557, allocations: 11.92 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4557, allocations: 15.98 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.456, allocations: 259 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.456, allocations: 3.938 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.4563, allocations: 36 kB / 0.566 GB, free: 14.28 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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): 7 * 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.002267/0.4585, allocations: 1.032 MB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.4588, allocations: 83.89 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4588, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.459, allocations: 43.92 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.4594, allocations: 70.83 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.4629, allocations: 2.348 MB / 0.5694 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4633, allocations: 0.7518 MB / 0.5702 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.4635, allocations: 37.92 kB / 0.5702 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4636, allocations: 75.41 kB / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4636, allocations: 0 / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.502, allocations: 5.98 MB / 0.5761 GB, free: 3.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.73, allocations: 13.55 kB / 0.5761 GB, free: 3.93 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.84664974687621]