Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002018, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2566/0.2566, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 76.09 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4461, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003283/0.4494, allocations: 1.734 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.4513, allocations: 1.027 MB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.4514, allocations: 1.375 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.4519, allocations: 52.25 kB / 0.5338 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.4525, allocations: 95.23 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4527, allocations: 78.92 kB / 0.534 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.453, allocations: 100.9 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.4532, allocations: 18.86 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4533, allocations: 48.22 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4534, allocations: 30.8 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.4535, allocations: 4.125 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.4537, allocations: 43.47 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4538, allocations: 26.91 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.4539, allocations: 41.31 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.4543, allocations: 138.4 kB / 0.5344 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4543, allocations: 5.062 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4543, allocations: 3.938 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4543, allocations: 0 / 0.5344 GB, free: 11.23 MB / 398.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.0007488/0.4551, allocations: 452.5 kB / 0.5349 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4551, allocations: 8.75 kB / 0.5349 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4552, allocations: 16.19 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4555, allocations: 219.1 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4555, allocations: 6.516 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4555, allocations: 6.344 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4557, allocations: 54.14 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4557, allocations: 7.938 kB / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4557, allocations: 4.875 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4558, allocations: 0.9062 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.4558, allocations: 18.48 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4563, allocations: 299.3 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4565, allocations: 54.41 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.4565, allocations: 29.75 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4566, allocations: 1 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.4567, allocations: 64.86 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4568, allocations: 0 / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.4574, allocations: 184.8 kB / 0.5358 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.4575, allocations: 52.53 kB / 0.5358 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.4578, allocations: 275.1 kB / 0.5361 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4578, allocations: 27.3 kB / 0.5361 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.4579, allocations: 112.1 kB / 0.5362 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.4579, allocations: 27.39 kB / 0.5363 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.458, allocations: 19.94 kB / 0.5363 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4581, allocations: 335.4 kB / 0.5366 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4582, allocations: 19.03 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.4583, allocations: 39.8 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4584, allocations: 64.28 kB / 0.5367 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4584, allocations: 0 / 0.5367 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.4587, allocations: 107.7 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4587, allocations: 9 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4587, allocations: 384 / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.4588, allocations: 1.469 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4589, allocations: 17 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4589, allocations: 5.594 kB / 0.5369 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.4589, allocations: 9.266 kB / 0.5369 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.459, allocations: 10.72 kB / 0.5369 GB, free: 8.977 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.4591, allocations: 133.4 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.4591, allocations: 15.81 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.4592, allocations: 20.06 kB / 0.537 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4592, allocations: 1.312 kB / 0.537 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4592, allocations: 5.391 kB / 0.537 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4592, allocations: 7.938 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.4598, allocations: 416.3 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4598, allocations: 1.469 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.4598, allocations: 6.188 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4598, allocations: 1.75 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4598, allocations: 5.531 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4598, allocations: 1.469 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4598, allocations: 0 / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.4601, allocations: 206 kB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.4602, allocations: 89.28 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4602, allocations: 5.156 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.4603, allocations: 2 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4604, allocations: 16.23 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4604, allocations: 3.281 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.4606, allocations: 202.3 kB / 0.538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4606, allocations: 0 / 0.538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.4609, allocations: 26.42 kB / 0.538 GB, free: 7.988 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.462, allocations: 468.4 kB / 0.5384 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.4622, allocations: 57.88 kB / 0.5385 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4622, allocations: 0 / 0.5385 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.4623, allocations: 29.39 kB / 0.5385 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4626, allocations: 39.55 kB / 0.5386 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.4631, allocations: 288.2 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4634, allocations: 0.7204 MB / 0.5395 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.4635, allocations: 22.92 kB / 0.5396 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4635, allocations: 14.72 kB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4635, allocations: 1.031 kB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of Templates: time 0.005227/0.4688, allocations: 1.769 MB / 0.5413 GB, free: 5.859 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches