Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001275/0.001275, allocations: 109.2 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.001429/0.001429, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.595/1.595, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2501/0.2501, allocations: 44.9 MB / 358.8 MB, free: 6.293 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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.002011/0.002011, allocations: 63.89 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4661, allocations: 65.47 MB / 0.5571 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003312/0.4694, allocations: 1.702 MB / 0.5587 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.4714, allocations: 1.026 MB / 0.5597 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.4715, allocations: 0 / 0.5597 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.4717, allocations: 63.72 kB / 0.5598 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.472, allocations: 103.5 kB / 0.5599 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.4722, allocations: 79.72 kB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4724, allocations: 103.7 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.4724, allocations: 8.172 kB / 0.5601 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.4725, allocations: 51.77 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4726, allocations: 55.81 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4726, allocations: 4 kB / 0.5602 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.4727, allocations: 27.98 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.4728, allocations: 23.86 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.4728, allocations: 31.75 kB / 0.5603 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.473, allocations: 105.7 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.473, allocations: 0 / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.473, allocations: 0 / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.473, allocations: 4 kB / 0.5604 GB, free: 4.516 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.0004432/0.4734, allocations: 341.6 kB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.4735, allocations: 8.031 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.4735, allocations: 30.75 kB / 0.5607 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.4735, allocations: 16.84 kB / 0.5608 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.4738, allocations: 155 kB / 0.5609 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4738, allocations: 4.375 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.4738, allocations: 3.938 kB / 0.5609 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4739, allocations: 41.69 kB / 0.561 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.474, allocations: 4 kB / 0.561 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.474, allocations: 7.984 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.474, allocations: 7.938 kB / 0.561 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.474, allocations: 12 kB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.4742, allocations: 152.7 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4744, allocations: 58.48 kB / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.4744, allocations: 20.84 kB / 0.5612 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4745, allocations: 4 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.4746, allocations: 63.39 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4746, allocations: 0 / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002369/0.4748, allocations: 97.56 kB / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4749, allocations: 51.41 kB / 0.5614 GB, free: 3.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4751, allocations: 198.3 kB / 0.5616 GB, free: 3.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4751, allocations: 29.64 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4752, allocations: 104.1 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4752, allocations: 19.84 kB / 0.5618 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.4753, allocations: 17.72 kB / 0.5618 GB, free: 2.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4754, allocations: 322.8 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.4755, allocations: 15.98 kB / 0.5621 GB, free: 2.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.4755, allocations: 25.7 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.4756, allocations: 49.66 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4756, allocations: 3.938 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.4758, allocations: 81.58 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4758, allocations: 8 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.4758, allocations: 0 / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.4758, allocations: 0 / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.4759, allocations: 11.94 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.4759, allocations: 0 / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.476, allocations: 16.02 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.476, allocations: 4 kB / 0.5623 GB, free: 2.363 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.0001028/0.4761, allocations: 121.8 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.4761, allocations: 7.953 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4763, allocations: 95.11 kB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4763, allocations: 4 kB / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.4763, allocations: 0 / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4763, allocations: 3.938 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4765, allocations: 164.6 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4765, allocations: 8 kB / 0.5627 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.4765, allocations: 7.922 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4765, allocations: 4 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.4765, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4765, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4765, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.4767, allocations: 109 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.4767, allocations: 7.953 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4767, allocations: 8 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.4768, allocations: 4 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.4768, allocations: 3.984 kB / 0.5628 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4768, allocations: 4 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.4769, allocations: 148.2 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4769, allocations: 0 / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.4771, allocations: 19.88 kB / 0.563 GB, free: 1.57 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.001959/0.4791, allocations: 0.9538 MB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4793, allocations: 39.92 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4793, allocations: 0 / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.4794, allocations: 19.98 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4797, allocations: 31.41 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.4815, allocations: 1.518 MB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.482, allocations: 0.6963 MB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.482, allocations: 8.5 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.4821, allocations: 35.42 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4821, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.5109, allocations: 3.324 MB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.35, allocations: 10.58 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.660980572996777]