Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 195.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008164/0.0008161, allocations: 93.58 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.3145/0.3145, allocations: 44.82 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 62.96 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3914, allocations: 90.87 MB / 0.6052 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3916, allocations: 79.95 kB / 0.6053 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.4098, allocations: 7.242 MB / 0.6124 GB, free: 7.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4099, allocations: 0 / 0.6124 GB, free: 7.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4099, allocations: 11.88 kB / 0.6124 GB, free: 7.164 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.0004899/0.4104, allocations: 435 kB / 0.6128 GB, free: 6.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4104, allocations: 12.03 kB / 0.6128 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4105, allocations: 20.73 kB / 0.6128 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.4108, allocations: 215.6 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4108, allocations: 384 / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.4108, allocations: 4.375 kB / 0.613 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.411, allocations: 71.52 kB / 0.6131 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.411, allocations: 0 / 0.6131 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.411, allocations: 11.98 kB / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.411, allocations: 0 / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.4111, allocations: 19.98 kB / 0.6131 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.4115, allocations: 292.8 kB / 0.6134 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4117, allocations: 58.67 kB / 0.6135 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4117, allocations: 24.84 kB / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4117, allocations: 0 / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.4119, allocations: 71.33 kB / 0.6136 GB, free: 5.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4119, allocations: 0 / 0.6136 GB, free: 5.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.4124, allocations: 177.2 kB / 0.6137 GB, free: 5.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4125, allocations: 89.03 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4127, allocations: 171.2 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4127, allocations: 29.7 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.4127, allocations: 96.14 kB / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4128, allocations: 31.62 kB / 0.6141 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4128, allocations: 0 / 0.6141 GB, free: 5.156 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4129, allocations: 322.8 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.413, allocations: 23.98 kB / 0.6145 GB, free: 4.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.4131, allocations: 46.56 kB / 0.6145 GB, free: 4.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4132, allocations: 65.64 kB / 0.6146 GB, free: 4.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4132, allocations: 0 / 0.6146 GB, free: 4.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.4134, allocations: 93.59 kB / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4134, allocations: 4 kB / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4134, allocations: 4 kB / 0.6147 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.4134, allocations: 0 / 0.6147 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.4135, allocations: 19.92 kB / 0.6147 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4135, allocations: 4.062 kB / 0.6147 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.4136, allocations: 4.188 kB / 0.6147 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4136, allocations: 4 kB / 0.6147 GB, free: 4.547 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 8.739e-05/0.4137, allocations: 133.7 kB / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.4137, allocations: 15.81 kB / 0.6148 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.414, allocations: 114.3 kB / 0.6149 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.414, allocations: 4 kB / 0.615 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.414, allocations: 0 / 0.615 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.414, allocations: 4 kB / 0.615 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.4144, allocations: 411.2 kB / 0.6153 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4145, allocations: 0 / 0.6153 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.4145, allocations: 8 kB / 0.6154 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4145, allocations: 0 / 0.6154 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4145, allocations: 7.984 kB / 0.6154 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4145, allocations: 3.938 kB / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4145, allocations: 3.938 kB / 0.6154 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.4148, allocations: 204.6 kB / 0.6156 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.4148, allocations: 100.8 kB / 0.6157 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4149, allocations: 4 kB / 0.6157 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.415, allocations: 7.938 kB / 0.6157 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.415, allocations: 11.92 kB / 0.6157 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.4151, allocations: 8 kB / 0.6157 GB, free: 3.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.4152, allocations: 127.2 kB / 0.6158 GB, free: 3.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4152, allocations: 0 / 0.6158 GB, free: 3.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003/0.4155, allocations: 59.92 kB / 0.6159 GB, free: 3.227 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.001095/0.4166, allocations: 0.5674 MB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4168, allocations: 59.91 kB / 0.6165 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.4168, allocations: 0 / 0.6165 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.4169, allocations: 31.92 kB / 0.6165 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.4172, allocations: 28.3 kB / 0.6165 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.4176, allocations: 247.8 kB / 0.6168 GB, free: 2.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4179, allocations: 0.7004 MB / 0.6175 GB, free: 1.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.4179, allocations: 23.42 kB / 0.6175 GB, free: 1.699 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4179, allocations: 0 / 0.6175 GB, free: 1.699 MB / 426.7 MB Notification: Performance of Templates: time 0.003829/0.4218, allocations: 2.399 MB / 0.6198 GB, free: 15.3 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches