Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009031/0.0009031, 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.458/1.458, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007631/0.0007631, allocations: 101.8 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3482/0.3482, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002779, allocations: 8 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2913, allocations: 62.96 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4016, allocations: 90.67 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.4019, allocations: 75.97 kB / 0.6051 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.4198, allocations: 7.144 MB / 0.6121 GB, free: 7.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4199, allocations: 0 / 0.6121 GB, free: 7.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.4199, allocations: 8 kB / 0.6121 GB, free: 7.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006633/0.4206, allocations: 490.6 kB / 0.6125 GB, free: 6.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4206, allocations: 15.97 kB / 0.6126 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.4207, allocations: 20.75 kB / 0.6126 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.4211, allocations: 271.3 kB / 0.6128 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4211, allocations: 4.375 kB / 0.6128 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.4211, allocations: 4.359 kB / 0.6129 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4213, allocations: 101.6 kB / 0.6129 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4213, allocations: 192 / 0.6129 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4213, allocations: 11.94 kB / 0.613 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.4214, allocations: 0 / 0.613 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.4215, allocations: 35.95 kB / 0.613 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.4217, allocations: 222.5 kB / 0.6132 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.422, allocations: 109.2 kB / 0.6133 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.4221, allocations: 41.69 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4221, allocations: 4 kB / 0.6134 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.4223, allocations: 117 kB / 0.6135 GB, free: 5.898 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4223, allocations: 0 / 0.6135 GB, free: 5.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004232/0.4228, allocations: 173.8 kB / 0.6136 GB, free: 5.723 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.4228, allocations: 132.5 kB / 0.6138 GB, free: 5.562 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.4231, allocations: 246.2 kB / 0.614 GB, free: 5.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4232, allocations: 33.69 kB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4232, allocations: 116.1 kB / 0.6141 GB, free: 5.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4233, allocations: 27.64 kB / 0.6142 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.4233, allocations: 8 kB / 0.6142 GB, free: 5.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4234, allocations: 330.8 kB / 0.6145 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.4235, allocations: 27.98 kB / 0.6145 GB, free: 4.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4236, allocations: 77.12 kB / 0.6146 GB, free: 4.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4238, allocations: 99.44 kB / 0.6147 GB, free: 4.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4238, allocations: 0 / 0.6147 GB, free: 4.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002558/0.4241, allocations: 137.4 kB / 0.6148 GB, free: 4.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4241, allocations: 11.94 kB / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4241, allocations: 0 / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4241, allocations: 3.984 kB / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4242, allocations: 20 kB / 0.6148 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4243, allocations: 4.062 kB / 0.6148 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.4243, allocations: 15.89 kB / 0.6149 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4244, allocations: 8 kB / 0.6149 GB, free: 4.355 MB / 426.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001103/0.4245, allocations: 146.2 kB / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.4245, allocations: 19.75 kB / 0.615 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.4249, allocations: 158.6 kB / 0.6152 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4249, allocations: 8 kB / 0.6152 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4249, allocations: 0 / 0.6152 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4249, allocations: 0 / 0.6152 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.4251, allocations: 233.7 kB / 0.6154 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4251, allocations: 0 / 0.6154 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4252, allocations: 16 kB / 0.6154 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4252, allocations: 3.938 kB / 0.6154 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4252, allocations: 3.984 kB / 0.6154 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4252, allocations: 4 kB / 0.6154 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4252, allocations: 0 / 0.6154 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4255, allocations: 185.7 kB / 0.6156 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.4256, allocations: 100.9 kB / 0.6157 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4256, allocations: 3.938 kB / 0.6157 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.4257, allocations: 15.98 kB / 0.6157 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.4258, allocations: 11.92 kB / 0.6157 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4258, allocations: 7.938 kB / 0.6157 GB, free: 3.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.426, allocations: 188.5 kB / 0.6159 GB, free: 3.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.426, allocations: 0 / 0.6159 GB, free: 3.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.4263, allocations: 63.92 kB / 0.616 GB, free: 3.105 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001084/0.4274, allocations: 0.504 MB / 0.6165 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4277, allocations: 87.89 kB / 0.6166 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4277, allocations: 0 / 0.6166 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4278, allocations: 43.98 kB / 0.6166 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.4282, allocations: 55.81 kB / 0.6167 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.4287, allocations: 352.5 kB / 0.617 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.429, allocations: 0.7205 MB / 0.6177 GB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.4291, allocations: 31.42 kB / 0.6177 GB, free: 1.422 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4291, allocations: 0 / 0.6177 GB, free: 1.422 MB / 426.7 MB Notification: Performance of Templates: time 0.004947/0.434, allocations: 3.152 MB / 0.6208 GB, free: 14.28 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches