Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 195.1 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 226.5 MB / 243.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007127/0.0007127, allocations: 92.45 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3743/0.3743, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 15.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 62.96 MB / 0.5159 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001891/0.342, allocations: 1.594 MB / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3434, allocations: 1.075 MB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.3435, allocations: 4 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.344, allocations: 255.2 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3443, allocations: 194.6 kB / 0.5189 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3446, allocations: 153.2 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3448, allocations: 230.2 kB / 0.5193 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3449, allocations: 28.48 kB / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3451, allocations: 114.8 kB / 0.5194 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3452, allocations: 162.5 kB / 0.5196 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3453, allocations: 6.984 kB / 0.5196 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.3454, allocations: 52.12 kB / 0.5196 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.3454, allocations: 69.11 kB / 0.5197 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.3455, allocations: 105.9 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3457, allocations: 187.2 kB / 0.52 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3457, allocations: 0 / 0.52 GB, free: 34.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3457, allocations: 0 / 0.52 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3457, allocations: 0 / 0.52 GB, free: 34.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005775/0.3463, allocations: 0.5408 MB / 0.5205 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3464, allocations: 12.69 kB / 0.5205 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.3464, allocations: 29.06 kB / 0.5205 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3467, allocations: 295.1 kB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3467, allocations: 3.062 kB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3467, allocations: 17.78 kB / 0.5208 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3469, allocations: 111.5 kB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3469, allocations: 4 kB / 0.521 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.347, allocations: 0 / 0.521 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.347, allocations: 2.969 kB / 0.521 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3471, allocations: 45.75 kB / 0.521 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3475, allocations: 488.8 kB / 0.5215 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3478, allocations: 130.1 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.3479, allocations: 41.78 kB / 0.5216 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.348, allocations: 0 / 0.5216 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3482, allocations: 120.5 kB / 0.5218 GB, free: 33.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.3482, allocations: 3.984 kB / 0.5218 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001098/0.3493, allocations: 0.5135 MB / 0.5223 GB, free: 33.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3493, allocations: 80.08 kB / 0.5223 GB, free: 33.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3497, allocations: 497.7 kB / 0.5228 GB, free: 32.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3498, allocations: 32.36 kB / 0.5228 GB, free: 32.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.3499, allocations: 172.1 kB / 0.523 GB, free: 32.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.3499, allocations: 66.31 kB / 0.5231 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.3499, allocations: 6.875 kB / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.35, allocations: 348.4 kB / 0.5234 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3501, allocations: 55.25 kB / 0.5235 GB, free: 32.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3503, allocations: 92.2 kB / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3505, allocations: 156.4 kB / 0.5237 GB, free: 32.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3505, allocations: 0 / 0.5237 GB, free: 32.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000316/0.3508, allocations: 240.1 kB / 0.5239 GB, free: 31.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3508, allocations: 13.69 kB / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3509, allocations: 0 / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3509, allocations: 6.219 kB / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.351, allocations: 36.72 kB / 0.524 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.351, allocations: 6.75 kB / 0.524 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.3511, allocations: 12.98 kB / 0.524 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3511, allocations: 9.094 kB / 0.524 GB, free: 31.95 MB / 378.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001213/0.3513, allocations: 173.9 kB / 0.5242 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3513, allocations: 41.38 kB / 0.5242 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.3514, allocations: 41.23 kB / 0.5242 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3514, allocations: 2.5 kB / 0.5243 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3514, allocations: 2.875 kB / 0.5243 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3514, allocations: 3.188 kB / 0.5243 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/0.3521, allocations: 0.7415 MB / 0.525 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3521, allocations: 6.344 kB / 0.525 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.3522, allocations: 31.58 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3522, allocations: 2.625 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3522, allocations: 10.84 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3522, allocations: 2.906 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3522, allocations: 3.875 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.3526, allocations: 423.6 kB / 0.5254 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3527, allocations: 119.2 kB / 0.5256 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3527, allocations: 6.969 kB / 0.5256 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3528, allocations: 13.72 kB / 0.5256 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.3529, allocations: 18.64 kB / 0.5256 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3529, allocations: 17.86 kB / 0.5256 GB, free: 30.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.3532, allocations: 367.3 kB / 0.526 GB, free: 30.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.3532, allocations: 0 / 0.526 GB, free: 30.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.3535, allocations: 56.98 kB / 0.526 GB, free: 30.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.001037/0.3546, allocations: 0.5191 MB / 0.5265 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.3549, allocations: 153.7 kB / 0.5267 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3549, allocations: 0 / 0.5267 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.355, allocations: 81.14 kB / 0.5267 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.3556, allocations: 60.98 kB / 0.5268 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.3564, allocations: 0.6754 MB / 0.5275 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3567, allocations: 0.7884 MB / 0.5282 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.3568, allocations: 28.45 kB / 0.5283 GB, free: 29.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3568, allocations: 0 / 0.5283 GB, free: 29.09 MB / 378.7 MB Notification: Performance of Templates: time 0.005024/0.3618, allocations: 3.811 MB / 0.532 GB, free: 28.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches