Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007766/0.0007766, allocations: 85.03 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2843/0.2843, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 19.98 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.09928, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001854/0.1012, allocations: 1.526 MB / 492.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1023, allocations: 0.8396 MB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1024, allocations: 3.938 kB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1028, allocations: 207.5 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.103, allocations: 155.5 kB / 493.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1034, allocations: 123.8 kB / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1036, allocations: 195.4 kB / 493.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1037, allocations: 21.53 kB / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1038, allocations: 103.5 kB / 494 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.104, allocations: 127.6 kB / 494.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.104, allocations: 4 kB / 494.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.1041, allocations: 35.98 kB / 494.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.1042, allocations: 55.77 kB / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.1043, allocations: 93.17 kB / 494.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1044, allocations: 151.9 kB / 494.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1044, allocations: 0 / 494.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1045, allocations: 0 / 494.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1045, allocations: 0 / 494.4 MB, free: 7.238 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005849/0.1051, allocations: 0.5177 MB / 495 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1051, allocations: 8.031 kB / 495 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1052, allocations: 24.66 kB / 495 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1054, allocations: 280 kB / 495.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1055, allocations: 8.312 kB / 495.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1055, allocations: 8.125 kB / 495.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1057, allocations: 99.3 kB / 495.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1057, allocations: 0 / 495.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1057, allocations: 4 kB / 495.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1057, allocations: 7.984 kB / 495.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1058, allocations: 39.97 kB / 495.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1063, allocations: 448.9 kB / 495.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1066, allocations: 113.3 kB / 496 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.1067, allocations: 45.62 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1067, allocations: 8 kB / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.107, allocations: 105.1 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.107, allocations: 0 / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007957/0.1078, allocations: 371.8 kB / 496.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1078, allocations: 85.03 kB / 496.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.1082, allocations: 428.5 kB / 497 MB, free: 4.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1082, allocations: 33.7 kB / 497 MB, free: 4.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.1083, allocations: 156.3 kB / 497.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.1084, allocations: 43.36 kB / 497.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.1084, allocations: 4 kB / 497.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1085, allocations: 346.8 kB / 497.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.1086, allocations: 39.97 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1087, allocations: 75.34 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1089, allocations: 119.3 kB / 497.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1089, allocations: 0 / 497.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003145/0.1093, allocations: 177.5 kB / 498 MB, free: 3.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1093, allocations: 4 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1093, allocations: 4.062 kB / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1093, allocations: 4 kB / 498 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1094, allocations: 35.92 kB / 498 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1095, allocations: 3.938 kB / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.1095, allocations: 8 kB / 498 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1096, allocations: 11.98 kB / 498 MB, free: 3.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.1097, allocations: 161.8 kB / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1097, allocations: 35.61 kB / 498.2 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.1098, allocations: 38.56 kB / 498.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1098, allocations: 4 kB / 498.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1098, allocations: 3.938 kB / 498.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1098, allocations: 0 / 498.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.1105, allocations: 0.6203 MB / 498.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1105, allocations: 0 / 498.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.1106, allocations: 24 kB / 498.9 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1106, allocations: 4 kB / 498.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1106, allocations: 7.984 kB / 498.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1106, allocations: 4 kB / 498.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1106, allocations: 0 / 498.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.111, allocations: 371.8 kB / 499.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.111, allocations: 105.6 kB / 499.4 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1111, allocations: 4 kB / 499.4 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1112, allocations: 8 kB / 499.4 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1113, allocations: 11.98 kB / 499.4 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1113, allocations: 15.92 kB / 499.4 MB, free: 1.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.1116, allocations: 319 kB / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1116, allocations: 0 / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.1119, allocations: 36 kB / 499.8 MB, free: 1.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008905/0.1128, allocations: 485.6 kB / 0.4885 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.113, allocations: 115.9 kB / 0.4887 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1131, allocations: 0 / 0.4887 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1132, allocations: 60.38 kB / 0.4887 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.1137, allocations: 61.06 kB / 0.4888 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.1144, allocations: 0.5579 MB / 0.4893 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1479/0.2623, allocations: 0.7592 MB / 0.4901 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.2624, allocations: 25.7 kB / 0.4901 GB, free: 42.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2624, allocations: 0 / 0.4901 GB, free: 42.38 MB / 378.7 MB Notification: Performance of Templates: time 0.004985/0.2674, allocations: 3.217 MB / 0.4932 GB, free: 42.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time