Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001746/0.001746, allocations: 115.6 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.002233/0.002233, allocations: 214.1 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2522/0.2522, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.002223/0.002223, allocations: 67.89 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4177, allocations: 65.47 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003663/0.4213, allocations: 1.7 MB / 0.5587 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4231, allocations: 1.029 MB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.4232, allocations: 0 / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.4236, allocations: 63.72 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.4239, allocations: 111.5 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.424, allocations: 75.67 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.4243, allocations: 111.6 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.4243, allocations: 4.234 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4244, allocations: 47.78 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4246, allocations: 55.75 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.4246, allocations: 4 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.4247, allocations: 31.98 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.4247, allocations: 23.84 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.4248, allocations: 31.81 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.425, allocations: 109.4 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.425, allocations: 0 / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.425, allocations: 3.938 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.425, allocations: 3.984 kB / 0.5604 GB, free: 4.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006504/0.4257, allocations: 333.6 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4257, allocations: 8.031 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.4258, allocations: 34.75 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.4258, allocations: 12.84 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.4261, allocations: 155 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4261, allocations: 4.375 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4261, allocations: 3.938 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4263, allocations: 49.67 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4263, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4263, allocations: 4 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4263, allocations: 0 / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/0.4264, allocations: 12 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.4266, allocations: 168.7 kB / 0.5611 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.4268, allocations: 58.48 kB / 0.5612 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.4269, allocations: 16.84 kB / 0.5612 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4269, allocations: 4 kB / 0.5612 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.4271, allocations: 63.39 kB / 0.5613 GB, free: 3.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.4271, allocations: 4 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002964/0.4274, allocations: 93.56 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4274, allocations: 55.41 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4276, allocations: 194.2 kB / 0.5616 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4277, allocations: 29.7 kB / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4277, allocations: 100.1 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.4278, allocations: 19.84 kB / 0.5618 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.4278, allocations: 17.7 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.428, allocations: 330.8 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.428, allocations: 12 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.4281, allocations: 29.7 kB / 0.5621 GB, free: 2.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.4282, allocations: 45.64 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4282, allocations: 7.875 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000161/0.4284, allocations: 85.59 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4284, allocations: 4 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4284, allocations: 0 / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4284, allocations: 0 / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.4285, allocations: 15.94 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4285, allocations: 3.984 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.4285, allocations: 4 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4285, allocations: 4 kB / 0.5623 GB, free: 2.203 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 (7): * Single equations (assignments): 7 * 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.000105/0.4287, allocations: 121.8 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.4287, allocations: 15.97 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.4289, allocations: 91.08 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4289, allocations: 4 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4289, allocations: 3.938 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4289, allocations: 0 / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4291, allocations: 164.6 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4291, allocations: 0 / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.4291, allocations: 4 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4291, allocations: 0 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.4291, allocations: 0 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4291, allocations: 4 kB / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4291, allocations: 0 / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4293, allocations: 113 kB / 0.5628 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.4293, allocations: 3.953 kB / 0.5628 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4293, allocations: 4 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.4294, allocations: 4 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.4294, allocations: 7.984 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4294, allocations: 7.938 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.4295, allocations: 148.2 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4295, allocations: 3.938 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000217/0.4298, allocations: 19.94 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001917/0.4317, allocations: 0.9579 MB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.4318, allocations: 39.92 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4319, allocations: 4 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.4319, allocations: 15.98 kB / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4322, allocations: 29.58 kB / 0.564 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.434, allocations: 1.51 MB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4344, allocations: 0.7041 MB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.919e-05/0.4344, allocations: 12.73 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4345, allocations: 27.44 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4345, allocations: 0 / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.4664, allocations: 3.319 MB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.29, allocations: 16.02 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.750013159995433]