Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001749/0.001749, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002204/0.002204, allocations: 216 kB / 23.75 MB, free: 4.668 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.561/1.561, 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.2453/0.2453, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.002074/0.002074, allocations: 63.89 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003687/0.4291, allocations: 1.962 MB / 0.559 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.4312, allocations: 1.088 MB / 0.5601 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4313, allocations: 3.938 kB / 0.5601 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.4317, allocations: 47.7 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.4321, allocations: 103.5 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.4323, allocations: 91.72 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.4326, allocations: 155.5 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4327, allocations: 23.56 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.4328, allocations: 55.72 kB / 0.5605 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.433, allocations: 55.7 kB / 0.5606 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.433, allocations: 8 kB / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.4331, allocations: 47.92 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.4332, allocations: 23.92 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.4333, allocations: 59.59 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.4335, allocations: 155.3 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4335, allocations: 4 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4335, allocations: 0 / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4336, allocations: 0 / 0.5609 GB, free: 3.867 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007132/0.4343, allocations: 407 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4343, allocations: 8.031 kB / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.4344, allocations: 42.73 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.4344, allocations: 16.84 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4348, allocations: 179 kB / 0.5615 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4348, allocations: 4.375 kB / 0.5615 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.4348, allocations: 11.94 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.435, allocations: 111.1 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4351, allocations: 0 / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4351, allocations: 0 / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4351, allocations: 8 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.4352, allocations: 51.84 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.4359, allocations: 488.1 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.4363, allocations: 90.59 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.4364, allocations: 32.84 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4364, allocations: 7.922 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.4366, allocations: 87.31 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.4366, allocations: 4 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004113/0.437, allocations: 141.4 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4371, allocations: 55.41 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4373, allocations: 199.2 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.4373, allocations: 29.7 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4374, allocations: 116.1 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.4374, allocations: 31.75 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.4375, allocations: 33.7 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4376, allocations: 322.8 kB / 0.5632 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.4377, allocations: 27.98 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4378, allocations: 68.27 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.438, allocations: 96.2 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.438, allocations: 0 / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000287/0.4383, allocations: 141.8 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4383, allocations: 8.203 kB / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4383, allocations: 7.938 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4384, allocations: 7.938 kB / 0.5636 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.4385, allocations: 16 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4385, allocations: 7.984 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.4385, allocations: 11.89 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4385, allocations: 4 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.000132/0.4387, allocations: 133.8 kB / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4387, allocations: 15.91 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.439, allocations: 135 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.439, allocations: 3.938 kB / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.439, allocations: 0 / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.439, allocations: 0 / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4392, allocations: 184.7 kB / 0.5641 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4392, allocations: 0 / 0.5641 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.4393, allocations: 11.98 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4393, allocations: 3.938 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4393, allocations: 4 kB / 0.5641 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4393, allocations: 7.938 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4393, allocations: 0 / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.4397, allocations: 176.9 kB / 0.5642 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.4397, allocations: 11.94 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4397, allocations: 7.984 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.4398, allocations: 7.938 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4398, allocations: 12.05 kB / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4399, allocations: 4 kB / 0.5643 GB, free: 20 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.44, allocations: 143.2 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.44, allocations: 4.125 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.4403, allocations: 31.92 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002115/0.4424, allocations: 1.022 MB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.4426, allocations: 79.89 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4427, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4428, allocations: 31.92 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4431, allocations: 45.58 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.4454, allocations: 1.762 MB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.4458, allocations: 0.7161 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.4459, allocations: 21.42 kB / 0.568 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.4459, allocations: 43.42 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4459, allocations: 0 / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.4789, allocations: 4.02 MB / 0.572 GB, free: 8.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.38, allocations: 9.391 kB / 0.572 GB, free: 8.168 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.711286221005139]