Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.001683/0.001683, allocations: 111.8 kB / 17.12 MB, free: 5.949 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.002566/0.002566, allocations: 205 kB / 20.09 MB, free: 3 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.875/1.875, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.3893/0.3893, allocations: 44.23 MB / 326.6 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 179] 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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.002205/0.002205, allocations: 79.89 kB / 462.3 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2737, allocations: 61 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002633/0.2764, allocations: 1.678 MB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2774, allocations: 0.793 MB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.2774, allocations: 3.938 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2777, allocations: 53.34 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.2779, allocations: 61.06 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2781, allocations: 80.41 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2782, allocations: 90.69 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.2783, allocations: 10.62 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.2784, allocations: 39.95 kB / 0.5137 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.2784, allocations: 29.84 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2784, allocations: 2.781 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.2785, allocations: 43.05 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.2786, allocations: 21.95 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.2786, allocations: 40.55 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2788, allocations: 113.2 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2788, allocations: 7.984 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2788, allocations: 0 / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2788, allocations: 0 / 0.514 GB, free: 10.93 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.0004555/0.2793, allocations: 429.2 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2793, allocations: 12.95 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.2793, allocations: 35.94 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.2794, allocations: 14.91 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2796, allocations: 225.8 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2796, allocations: 6.062 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2797, allocations: 5.625 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2798, allocations: 46.23 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2798, allocations: 0 / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2798, allocations: 2 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2798, allocations: 0 / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.2799, allocations: 23.72 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.28, allocations: 187.1 kB / 0.5149 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2802, allocations: 58.02 kB / 0.515 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.2802, allocations: 15.7 kB / 0.515 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2803, allocations: 5.484 kB / 0.515 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.2804, allocations: 64.3 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.2804, allocations: 0 / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002986/0.2807, allocations: 104.4 kB / 0.5152 GB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2807, allocations: 52.5 kB / 0.5152 GB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.2809, allocations: 266.9 kB / 0.5155 GB, free: 9.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.281, allocations: 25.7 kB / 0.5155 GB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.281, allocations: 111 kB / 0.5156 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.281, allocations: 10.7 kB / 0.5156 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.2811, allocations: 19.22 kB / 0.5156 GB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.2811, allocations: 326.9 kB / 0.516 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.2812, allocations: 24.3 kB / 0.516 GB, free: 8.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.2812, allocations: 35.31 kB / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.2813, allocations: 47.52 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2813, allocations: 3.938 kB / 0.5161 GB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/0.2815, allocations: 85.16 kB / 0.5161 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2815, allocations: 5.5 kB / 0.5161 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2815, allocations: 4.031 kB / 0.5161 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2815, allocations: 1.375 kB / 0.5161 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.2816, allocations: 8.25 kB / 0.5162 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2816, allocations: 9.297 kB / 0.5162 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.2816, allocations: 6.703 kB / 0.5162 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2816, allocations: 1.375 kB / 0.5162 GB, free: 8.828 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 8.126e-05/0.2817, allocations: 136.9 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.2818, allocations: 14.78 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.2818, allocations: 23.8 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2818, allocations: 4 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2818, allocations: 1.375 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2818, allocations: 0 / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2819, allocations: 194.2 kB / 0.5165 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2819, allocations: 0 / 0.5165 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.282, allocations: 4.125 kB / 0.5165 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.282, allocations: 3.938 kB / 0.5165 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.282, allocations: 5.375 kB / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.282, allocations: 0 / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.282, allocations: 1.375 kB / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2821, allocations: 118 kB / 0.5167 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.2822, allocations: 89.12 kB / 0.5167 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2822, allocations: 4 kB / 0.5167 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.2822, allocations: 6.734 kB / 0.5168 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.2823, allocations: 1.375 kB / 0.5168 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2823, allocations: 2.75 kB / 0.5168 GB, free: 8.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2824, allocations: 196 kB / 0.5169 GB, free: 8.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2824, allocations: 4 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2826, allocations: 20.31 kB / 0.517 GB, free: 8.098 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.001711/0.2844, allocations: 0.9621 MB / 0.5179 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2845, allocations: 40.14 kB / 0.5179 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2845, allocations: 8 kB / 0.518 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.2846, allocations: 17.86 kB / 0.518 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.2848, allocations: 24.33 kB / 0.518 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2862, allocations: 1.664 MB / 0.5196 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2863, allocations: 0.7119 MB / 0.5203 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.2864, allocations: 12.56 kB / 0.5203 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2864, allocations: 35.42 kB / 0.5204 GB, free: 4.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2864, allocations: 0 / 0.5204 GB, free: 4.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.3098, allocations: 3.446 MB / 0.5237 GB, free: 1.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.256, allocations: 9.75 kB / 0.5237 GB, free: 1.426 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.794350644006045]