Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 191.2 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008542, allocations: 100.2 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.409/0.409, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.5045, allocations: 90.61 MB / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5048, allocations: 79.95 kB / 0.605 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.5236, allocations: 6.442 MB / 0.6113 GB, free: 8.238 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5236, allocations: 0 / 0.6113 GB, free: 8.238 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5236, allocations: 4 kB / 0.6113 GB, free: 8.234 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.0005989/0.5242, allocations: 454.7 kB / 0.6118 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5243, allocations: 12.03 kB / 0.6118 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.5243, allocations: 16.75 kB / 0.6118 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5246, allocations: 226 kB / 0.612 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5247, allocations: 4.375 kB / 0.612 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5247, allocations: 384 / 0.612 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5249, allocations: 58.17 kB / 0.6121 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5249, allocations: 192 / 0.6121 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5249, allocations: 7.938 kB / 0.6121 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.5249, allocations: 0 / 0.6121 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.525, allocations: 27.98 kB / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.5254, allocations: 296.9 kB / 0.6124 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.5256, allocations: 66.55 kB / 0.6125 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.5257, allocations: 20.84 kB / 0.6125 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5257, allocations: 4 kB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5259, allocations: 67.39 kB / 0.6125 GB, free: 6.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5259, allocations: 0 / 0.6125 GB, free: 6.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005733/0.5265, allocations: 177.1 kB / 0.6127 GB, free: 6.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5265, allocations: 59.41 kB / 0.6128 GB, free: 6.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5268, allocations: 204.7 kB / 0.613 GB, free: 6.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5268, allocations: 33.7 kB / 0.613 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.5268, allocations: 104.1 kB / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.5269, allocations: 23.66 kB / 0.6131 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.5269, allocations: 4 kB / 0.6131 GB, free: 6.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.527, allocations: 326.8 kB / 0.6134 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.5271, allocations: 27.92 kB / 0.6135 GB, free: 5.848 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.5272, allocations: 41.58 kB / 0.6135 GB, free: 5.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.5273, allocations: 69.69 kB / 0.6136 GB, free: 5.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5273, allocations: 0 / 0.6136 GB, free: 5.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.5275, allocations: 101.5 kB / 0.6137 GB, free: 5.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5275, allocations: 4 kB / 0.6137 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5275, allocations: 0 / 0.6137 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5276, allocations: 4 kB / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.5277, allocations: 12 kB / 0.6137 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5277, allocations: 0 / 0.6137 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.5277, allocations: 15.89 kB / 0.6137 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.5277, allocations: 4.031 kB / 0.6137 GB, free: 5.582 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 0.0001065/0.5279, allocations: 135.8 kB / 0.6138 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.5279, allocations: 19.89 kB / 0.6138 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.5282, allocations: 119 kB / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5282, allocations: 0 / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5282, allocations: 0 / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5282, allocations: 0 / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.5287, allocations: 427.1 kB / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5288, allocations: 0 / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.5288, allocations: 8 kB / 0.6144 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/0.5288, allocations: 4 kB / 0.6144 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.5289, allocations: 0 / 0.6144 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5289, allocations: 4.359 kB / 0.6144 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5289, allocations: 3.938 kB / 0.6144 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5292, allocations: 216.3 kB / 0.6146 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.5292, allocations: 96.91 kB / 0.6147 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5293, allocations: 8 kB / 0.6147 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.5294, allocations: 0 / 0.6147 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.5294, allocations: 11.92 kB / 0.6147 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5294, allocations: 4.375 kB / 0.6147 GB, free: 4.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.5296, allocations: 156.3 kB / 0.6149 GB, free: 4.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5296, allocations: 4 kB / 0.6149 GB, free: 4.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.5299, allocations: 35.92 kB / 0.6149 GB, free: 4.246 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.001084/0.531, allocations: 466.7 kB / 0.6153 GB, free: 3.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5312, allocations: 59.97 kB / 0.6154 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5312, allocations: 0 / 0.6154 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.5313, allocations: 39.86 kB / 0.6154 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.5317, allocations: 29.41 kB / 0.6155 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.5323, allocations: 295.8 kB / 0.6157 GB, free: 3.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5326, allocations: 0.7082 MB / 0.6164 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.5326, allocations: 27.38 kB / 0.6165 GB, free: 2.742 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5326, allocations: 0 / 0.6165 GB, free: 2.742 MB / 426.7 MB Notification: Performance of Templates: time 0.004141/0.5368, allocations: 2.014 MB / 0.6184 GB, free: 0.7344 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches