Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001298/0.001298, allocations: 113.1 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.001421/0.001421, allocations: 217.2 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.557/1.557, 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.2457/0.2457, allocations: 44.9 MB / 358.8 MB, free: 6.305 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.002128/0.002128, allocations: 71.89 kB / 0.4932 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4428, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003691/0.4465, allocations: 1.736 MB / 0.5588 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.4485, allocations: 1.053 MB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.4485, allocations: 0 / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.4489, allocations: 91.67 kB / 0.5599 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.4493, allocations: 115.6 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.4495, allocations: 75.69 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4497, allocations: 115.7 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4498, allocations: 13.77 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4499, allocations: 59.75 kB / 0.5603 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.45, allocations: 59.83 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.45, allocations: 4 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.4501, allocations: 47.97 kB / 0.5604 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.4502, allocations: 23.92 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.4503, allocations: 43.61 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.4505, allocations: 119.5 kB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4505, allocations: 0 / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4505, allocations: 0 / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4505, allocations: 3.938 kB / 0.5606 GB, free: 4.203 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.000601/0.4511, allocations: 357.5 kB / 0.5609 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4511, allocations: 12.03 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.4512, allocations: 34.75 kB / 0.5609 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.4512, allocations: 16.83 kB / 0.561 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.4515, allocations: 162.7 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4515, allocations: 384 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.4516, allocations: 11.94 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.4517, allocations: 49.67 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4517, allocations: 0 / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4517, allocations: 11.98 kB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4518, allocations: 0 / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.4518, allocations: 19.98 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.4522, allocations: 264 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.4524, allocations: 58.61 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.4525, allocations: 24.84 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4525, allocations: 0 / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.4527, allocations: 67.39 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4527, allocations: 0 / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.4533, allocations: 173.3 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4533, allocations: 55.41 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4535, allocations: 231.4 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4536, allocations: 25.7 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.4536, allocations: 116.1 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.4537, allocations: 23.78 kB / 0.5622 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4537, allocations: 25.66 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4539, allocations: 322.8 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.4539, allocations: 23.98 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.454, allocations: 41.7 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4541, allocations: 57.78 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4541, allocations: 0 / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.4543, allocations: 109.5 kB / 0.5628 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4544, allocations: 4 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4544, allocations: 384 / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4544, allocations: 0 / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.4545, allocations: 19.98 kB / 0.5628 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4545, allocations: 11.97 kB / 0.5628 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4545, allocations: 7.938 kB / 0.5628 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4545, allocations: 4 kB / 0.5628 GB, free: 1.691 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.0001289/0.4547, allocations: 129.8 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.4547, allocations: 15.91 kB / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.455, allocations: 111.1 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.455, allocations: 0 / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.455, allocations: 0 / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.455, allocations: 7.938 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4554, allocations: 370.4 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4554, allocations: 0 / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.4555, allocations: 15.94 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4555, allocations: 3.938 kB / 0.5634 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4555, allocations: 4 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4555, allocations: 0 / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4555, allocations: 0 / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.4557, allocations: 204.3 kB / 0.5636 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.4558, allocations: 11.95 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4558, allocations: 11.88 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.4559, allocations: 0 / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4559, allocations: 7.984 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.4559, allocations: 11.94 kB / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.4561, allocations: 173.2 kB / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4561, allocations: 192 / 0.5638 GB, free: 0.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.4564, allocations: 23.89 kB / 0.5639 GB, free: 0.5195 MB / 398.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 (8): * Single equations (assignments): 6 * 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.002224/0.4586, allocations: 1.091 MB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4588, allocations: 55.91 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4588, allocations: 0 / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.4589, allocations: 27.92 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4592, allocations: 42.22 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.4613, allocations: 1.716 MB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4617, allocations: 0.7196 MB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.4617, allocations: 25.27 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.4618, allocations: 39.42 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4618, allocations: 0 / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.493, allocations: 3.737 MB / 0.5711 GB, free: 9.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.32, allocations: 3.125 kB / 0.5711 GB, free: 9.184 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.665682148995984]