Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001473/0.001473, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.001442/0.001442, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3281/0.3281, allocations: 44.22 MB / 326.6 MB, free: 6.805 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003336/0.003336, allocations: 71.91 kB / 462.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2677, allocations: 61 MB / 0.511 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002498/0.2702, allocations: 1.708 MB / 0.5127 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2712, allocations: 0.8139 MB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2713, allocations: 7.875 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.2715, allocations: 35.42 kB / 0.5135 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2717, allocations: 57.39 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2719, allocations: 82.27 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.272, allocations: 90.59 kB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.2721, allocations: 12.91 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.2722, allocations: 48.88 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.2722, allocations: 37.25 kB / 0.5138 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2722, allocations: 3.781 kB / 0.5138 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.2723, allocations: 38.45 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.2724, allocations: 17.61 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.2724, allocations: 31.17 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2726, allocations: 113.2 kB / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2726, allocations: 0 / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2726, allocations: 0 / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2726, allocations: 0 / 0.514 GB, free: 10.79 MB / 382.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.0004141/0.273, allocations: 409.6 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.273, allocations: 13.3 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.2731, allocations: 36.09 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.2731, allocations: 8.422 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2733, allocations: 207 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2733, allocations: 5.5 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.2733, allocations: 1.594 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2735, allocations: 58.27 kB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2735, allocations: 1.281 kB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2735, allocations: 4 kB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2735, allocations: 1.344 kB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.2736, allocations: 17.95 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.2738, allocations: 280.3 kB / 0.515 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.274, allocations: 55.8 kB / 0.5151 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.274, allocations: 21.7 kB / 0.5151 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.274, allocations: 3.938 kB / 0.5151 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.2742, allocations: 73.72 kB / 0.5152 GB, free: 9.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2742, allocations: 0 / 0.5152 GB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004952/0.2747, allocations: 177.7 kB / 0.5153 GB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.2747, allocations: 59.34 kB / 0.5154 GB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2748, allocations: 162.5 kB / 0.5156 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.2748, allocations: 25.7 kB / 0.5156 GB, free: 9.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.2748, allocations: 104.7 kB / 0.5157 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2749, allocations: 19.08 kB / 0.5157 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.2749, allocations: 24.08 kB / 0.5157 GB, free: 9.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.975e-05/0.2749, allocations: 326 kB / 0.516 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.275, allocations: 14.62 kB / 0.516 GB, free: 8.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.275, allocations: 44.05 kB / 0.5161 GB, free: 8.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.2751, allocations: 58.45 kB / 0.5161 GB, free: 8.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2751, allocations: 0 / 0.5161 GB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.2753, allocations: 102.8 kB / 0.5162 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2753, allocations: 5.5 kB / 0.5162 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2753, allocations: 9.297 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2753, allocations: 0 / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.2754, allocations: 13.75 kB / 0.5163 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2754, allocations: 5.562 kB / 0.5163 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.2755, allocations: 5.375 kB / 0.5163 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2755, allocations: 2.75 kB / 0.5163 GB, free: 8.617 MB / 382.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 5.768e-05/0.2755, allocations: 124.6 kB / 0.5164 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.2756, allocations: 9.453 kB / 0.5164 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2756, allocations: 24.75 kB / 0.5164 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.2756, allocations: 1.375 kB / 0.5164 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2756, allocations: 0 / 0.5164 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2756, allocations: 0 / 0.5164 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.2759, allocations: 399.7 kB / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2759, allocations: 0 / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.2759, allocations: 8.25 kB / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2759, allocations: 1.375 kB / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.276, allocations: 1.375 kB / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.276, allocations: 1.75 kB / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.276, allocations: 0 / 0.5168 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.2761, allocations: 212.4 kB / 0.517 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2761, allocations: 87.8 kB / 0.5171 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2762, allocations: 9.312 kB / 0.5171 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2762, allocations: 5.375 kB / 0.5171 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.2763, allocations: 12.05 kB / 0.5171 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2763, allocations: 2.75 kB / 0.5171 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.2764, allocations: 126.1 kB / 0.5173 GB, free: 7.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2764, allocations: 4 kB / 0.5173 GB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2766, allocations: 20.5 kB / 0.5173 GB, free: 7.664 MB / 382.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.001875/0.2785, allocations: 1.104 MB / 0.5184 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2787, allocations: 48.45 kB / 0.5184 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2787, allocations: 0 / 0.5184 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.774e-05/0.2787, allocations: 31.38 kB / 0.5184 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2791, allocations: 34.22 kB / 0.5185 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2803, allocations: 1.575 MB / 0.52 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.2804, allocations: 0.6942 MB / 0.5207 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.625e-05/0.2805, allocations: 18.5 kB / 0.5207 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.2805, allocations: 31.86 kB / 0.5207 GB, free: 4.477 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2805, allocations: 0 / 0.5207 GB, free: 4.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.3035, allocations: 3.28 MB / 0.5239 GB, free: 1.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.475, allocations: 6.703 kB / 0.5239 GB, free: 1.188 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.583410720995744]