Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009462/0.0009461, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.5 MB / 244.1 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007529/0.0007529, allocations: 103.4 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3337/0.3337, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3275, allocations: 62.96 MB / 0.5165 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4537, allocations: 90.61 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.454, allocations: 71.97 kB / 0.605 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.4716, allocations: 6.36 MB / 0.6112 GB, free: 8.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4716, allocations: 0 / 0.6112 GB, free: 8.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4716, allocations: 0 / 0.6112 GB, free: 8.312 MB / 426.7 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.0005824/0.4722, allocations: 458.8 kB / 0.6117 GB, free: 7.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4723, allocations: 8.031 kB / 0.6117 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.4723, allocations: 12.84 kB / 0.6117 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.4726, allocations: 216 kB / 0.6119 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4727, allocations: 4.375 kB / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.4727, allocations: 4.375 kB / 0.6119 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4728, allocations: 58.22 kB / 0.612 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4728, allocations: 192 / 0.612 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4729, allocations: 7.922 kB / 0.612 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4729, allocations: 0 / 0.612 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.473, allocations: 27.92 kB / 0.612 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4733, allocations: 284.9 kB / 0.6123 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4735, allocations: 66.61 kB / 0.6123 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.4736, allocations: 28.84 kB / 0.6124 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4736, allocations: 0 / 0.6124 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.4737, allocations: 67.33 kB / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4738, allocations: 4 kB / 0.6124 GB, free: 6.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.4743, allocations: 177.2 kB / 0.6126 GB, free: 6.742 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4743, allocations: 55.39 kB / 0.6127 GB, free: 6.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4745, allocations: 183.3 kB / 0.6128 GB, free: 6.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4746, allocations: 25.7 kB / 0.6129 GB, free: 6.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.4746, allocations: 104.1 kB / 0.613 GB, free: 6.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4747, allocations: 31.58 kB / 0.613 GB, free: 6.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.4747, allocations: 3.938 kB / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4748, allocations: 330.8 kB / 0.6133 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.4748, allocations: 20 kB / 0.6133 GB, free: 5.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.4749, allocations: 33.7 kB / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.4751, allocations: 69.7 kB / 0.6134 GB, free: 5.848 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4751, allocations: 0 / 0.6134 GB, free: 5.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.4753, allocations: 101.5 kB / 0.6135 GB, free: 5.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4753, allocations: 12.03 kB / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4753, allocations: 0 / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4753, allocations: 0 / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.4754, allocations: 19.92 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4754, allocations: 4 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.4755, allocations: 0 / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.4755, allocations: 4 kB / 0.6136 GB, free: 5.703 MB / 426.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.4756, allocations: 131.6 kB / 0.6137 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.4756, allocations: 7.906 kB / 0.6137 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.4759, allocations: 123 kB / 0.6138 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4759, allocations: 4 kB / 0.6138 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4759, allocations: 0 / 0.6138 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4759, allocations: 0 / 0.6138 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.4764, allocations: 415.2 kB / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4764, allocations: 0 / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.4764, allocations: 11.98 kB / 0.6142 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4764, allocations: 4.031 kB / 0.6142 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4765, allocations: 7.938 kB / 0.6142 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4765, allocations: 0 / 0.6142 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4765, allocations: 3.938 kB / 0.6142 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.4767, allocations: 208.5 kB / 0.6144 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.4768, allocations: 96.91 kB / 0.6145 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4768, allocations: 4.375 kB / 0.6145 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.4769, allocations: 7.984 kB / 0.6145 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.477, allocations: 11.94 kB / 0.6145 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.477, allocations: 8 kB / 0.6146 GB, free: 4.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.4771, allocations: 142 kB / 0.6147 GB, free: 4.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 0 / 0.6147 GB, free: 4.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000266/0.4774, allocations: 35.88 kB / 0.6147 GB, free: 4.398 MB / 426.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009467/0.4783, allocations: 472 kB / 0.6152 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.4785, allocations: 67.89 kB / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4785, allocations: 0 / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.4786, allocations: 35.92 kB / 0.6153 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.479, allocations: 28.09 kB / 0.6153 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.4794, allocations: 264.1 kB / 0.6156 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4797, allocations: 0.716 MB / 0.6163 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.4797, allocations: 15.44 kB / 0.6163 GB, free: 2.922 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4797, allocations: 0 / 0.6163 GB, free: 2.922 MB / 426.7 MB Notification: Performance of Templates: time 0.003466/0.4832, allocations: 1.943 MB / 0.6182 GB, free: 0.9883 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches