Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 94.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4172/0.4172, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.3e-05, allocations: 12.22 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4038, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.607, allocations: 86.97 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/0.6075, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03414/0.6416, allocations: 5.499 MB / 0.5563 GB, free: 6.777 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6417, allocations: 0 / 0.5563 GB, free: 6.777 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.6417, allocations: 7.938 kB / 0.5563 GB, free: 6.77 MB / 395.1 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.0007631/0.6425, allocations: 402.2 kB / 0.5567 GB, free: 6.332 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.6426, allocations: 12.03 kB / 0.5567 GB, free: 6.32 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.6427, allocations: 11.81 kB / 0.5567 GB, free: 6.309 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.6433, allocations: 226.8 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.6433, allocations: 4 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.6434, allocations: 4 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/0.6435, allocations: 19.94 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.6437, allocations: 53.67 kB / 0.557 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6438, allocations: 7.844 kB / 0.557 GB, free: 5.953 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.6438, allocations: 4 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6438, allocations: 0 / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.6445, allocations: 273.5 kB / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6447, allocations: 54.64 kB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.6448, allocations: 20.97 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.6448, allocations: 0 / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.645, allocations: 55.41 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.6451, allocations: 0 / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008133/0.6459, allocations: 165.1 kB / 0.5575 GB, free: 5.324 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.646, allocations: 55.41 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.6464, allocations: 205.7 kB / 0.5578 GB, free: 5.043 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.6465, allocations: 25.7 kB / 0.5578 GB, free: 5.012 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6466, allocations: 166.6 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.6467, allocations: 27.64 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/0.6467, allocations: 0 / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6469, allocations: 310.8 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.282e-05/0.647, allocations: 24 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.6471, allocations: 33.7 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.6472, allocations: 16 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6473, allocations: 0 / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003104/0.6476, allocations: 85.61 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.6476, allocations: 8 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6476, allocations: 0 / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6477, allocations: 0 / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.6479, allocations: 16.03 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.648, allocations: 7.984 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.6481, allocations: 0 / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.6482, allocations: 11.95 kB / 0.5585 GB, free: 4.297 MB / 395.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 0.0001198/0.6483, allocations: 104.9 kB / 0.5586 GB, free: 4.188 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.6484, allocations: 15.81 kB / 0.5586 GB, free: 4.172 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.6488, allocations: 111.6 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6488, allocations: 4 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.6489, allocations: 4.094 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6489, allocations: 3.938 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.6498, allocations: 387.8 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6498, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.6499, allocations: 16 kB / 0.5591 GB, free: 3.605 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.65, allocations: 0 / 0.5591 GB, free: 3.605 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.65, allocations: 0 / 0.5591 GB, free: 3.605 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.65, allocations: 4 kB / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.65, allocations: 192 / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.6505, allocations: 217.8 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.6506, allocations: 104.9 kB / 0.5594 GB, free: 3.242 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.6507, allocations: 0 / 0.5594 GB, free: 3.242 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6509, allocations: 4 kB / 0.5594 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.651, allocations: 11.94 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.651, allocations: 11.94 kB / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.6514, allocations: 163.2 kB / 0.5596 GB, free: 3.055 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6514, allocations: 0 / 0.5596 GB, free: 3.055 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006699/0.6521, allocations: 27.94 kB / 0.5596 GB, free: 3.027 MB / 395.1 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) * 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.001662/0.6537, allocations: 395.6 kB / 0.56 GB, free: 2.684 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.6541, allocations: 59.95 kB / 0.5601 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6541, allocations: 0 / 0.5601 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.6542, allocations: 27.94 kB / 0.5601 GB, free: 2.598 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.6548, allocations: 32.09 kB / 0.5601 GB, free: 2.562 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.6556, allocations: 211.8 kB / 0.5603 GB, free: 2.324 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.6561, allocations: 0.7196 MB / 0.561 GB, free: 1.578 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.6562, allocations: 19.42 kB / 0.561 GB, free: 1.559 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6562, allocations: 0 / 0.561 GB, free: 1.559 MB / 395.1 MB Notification: Performance of Templates: time 0.008054/0.6643, allocations: 2.023 MB / 0.563 GB, free: 15.54 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches