Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001834/0.001834, allocations: 115.8 kB / 17.13 MB, free: 5.93 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.002159/0.002159, allocations: 212 kB / 20.09 MB, free: 2.977 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.644/1.644, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.3391/0.3391, allocations: 44.23 MB / 326.6 MB, free: 6.781 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.002206/0.002206, allocations: 79.88 kB / 462.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.261, allocations: 61 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002998/0.264, allocations: 1.663 MB / 0.5126 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2653, allocations: 0.7973 MB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.2654, allocations: 3.938 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.2657, allocations: 56.14 kB / 0.5135 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2659, allocations: 61.73 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2661, allocations: 83.91 kB / 0.5136 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2662, allocations: 87.61 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.2663, allocations: 6.797 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.2664, allocations: 47.61 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.2664, allocations: 25.86 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2665, allocations: 2.75 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.2665, allocations: 39.42 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.2666, allocations: 30.53 kB / 0.5139 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.2666, allocations: 36.41 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.2668, allocations: 116.4 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2668, allocations: 1.125 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2668, allocations: 0 / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2668, allocations: 0 / 0.514 GB, free: 10.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005016/0.2673, allocations: 428.8 kB / 0.5144 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2674, allocations: 13.86 kB / 0.5144 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.2674, allocations: 34.73 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.2674, allocations: 23.38 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2677, allocations: 229.5 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2677, allocations: 1.688 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2678, allocations: 5.062 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.2679, allocations: 47.3 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2679, allocations: 1.062 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2679, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2679, allocations: 1.188 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.268, allocations: 11.12 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.2682, allocations: 196.7 kB / 0.5149 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2683, allocations: 56.3 kB / 0.515 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.2684, allocations: 16.67 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2684, allocations: 1.75 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.2686, allocations: 67.14 kB / 0.5151 GB, free: 9.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2686, allocations: 0 / 0.5151 GB, free: 9.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002849/0.2688, allocations: 105.7 kB / 0.5152 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2689, allocations: 51.41 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.2691, allocations: 266.1 kB / 0.5155 GB, free: 9.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2691, allocations: 27.14 kB / 0.5155 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2691, allocations: 110.9 kB / 0.5156 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.2692, allocations: 10.61 kB / 0.5156 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.2692, allocations: 19.22 kB / 0.5156 GB, free: 9.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.2693, allocations: 330.9 kB / 0.516 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.2693, allocations: 16.23 kB / 0.516 GB, free: 9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.2694, allocations: 27.33 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.2695, allocations: 47.78 kB / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2695, allocations: 3.938 kB / 0.5161 GB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001366/0.2696, allocations: 89.2 kB / 0.5161 GB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2696, allocations: 4.125 kB / 0.5161 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2696, allocations: 1.375 kB / 0.5161 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2696, allocations: 5.312 kB / 0.5161 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.2697, allocations: 12.25 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2697, allocations: 1.375 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.2698, allocations: 6.703 kB / 0.5162 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.2698, allocations: 5.359 kB / 0.5162 GB, free: 8.859 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 (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 7.014e-05/0.2698, allocations: 140.9 kB / 0.5163 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.2699, allocations: 14.78 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.2699, allocations: 19.81 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2699, allocations: 0 / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2699, allocations: 0 / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2699, allocations: 1.375 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.264e-05/0.27, allocations: 194.2 kB / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.27, allocations: 0 / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.27, allocations: 6.734 kB / 0.5165 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.27, allocations: 1.375 kB / 0.5165 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.27, allocations: 5.375 kB / 0.5165 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.27, allocations: 0 / 0.5165 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.27, allocations: 3.938 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2702, allocations: 115.3 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.2702, allocations: 91.86 kB / 0.5167 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2702, allocations: 5.375 kB / 0.5167 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.2703, allocations: 2.75 kB / 0.5167 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.2703, allocations: 9.359 kB / 0.5168 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2703, allocations: 6.75 kB / 0.5168 GB, free: 8.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.2704, allocations: 190.6 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2704, allocations: 1.375 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.2706, allocations: 20.33 kB / 0.517 GB, free: 8.129 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001617/0.2723, allocations: 0.9625 MB / 0.5179 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.2724, allocations: 41.97 kB / 0.5179 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2724, allocations: 5.375 kB / 0.518 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.2725, allocations: 13.56 kB / 0.518 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2727, allocations: 32.34 kB / 0.518 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2741, allocations: 1.657 MB / 0.5196 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2742, allocations: 0.7158 MB / 0.5203 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.2742, allocations: 12.55 kB / 0.5203 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.2743, allocations: 39.36 kB / 0.5204 GB, free: 4.934 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2743, allocations: 0 / 0.5204 GB, free: 4.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.297, allocations: 3.442 MB / 0.5237 GB, free: 1.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.3, allocations: 5.812 kB / 0.5237 GB, free: 1.422 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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: 11.465848238003673]