Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.89 kB / 482.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003245/0.3505, allocations: 1.735 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3532, allocations: 1.616 MB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.3533, allocations: 1.375 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3536, allocations: 44.02 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.354, allocations: 104.3 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3542, allocations: 78.91 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3544, allocations: 98.39 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3545, allocations: 10.86 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3546, allocations: 49.66 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3549, allocations: 42.84 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3549, allocations: 4.125 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.3551, allocations: 119.1 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.3552, allocations: 21.19 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.3552, allocations: 39.5 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3555, allocations: 171.2 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3555, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3555, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3556, allocations: 1.5 kB / 0.5358 GB, free: 10.46 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.0005926/0.3562, allocations: 427.4 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3562, allocations: 9.062 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.3563, allocations: 14.12 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3565, allocations: 218.8 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3566, allocations: 5.406 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3566, allocations: 6.609 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3568, allocations: 65.92 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3568, allocations: 0 / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3568, allocations: 1.125 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3568, allocations: 1.094 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3569, allocations: 26.17 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3573, allocations: 285.4 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3575, allocations: 58.05 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.3576, allocations: 21.06 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3576, allocations: 5.094 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3578, allocations: 65.42 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3578, allocations: 3.938 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.3585, allocations: 165.1 kB / 0.5371 GB, free: 9.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.3586, allocations: 83.3 kB / 0.5372 GB, free: 9.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3587, allocations: 174.9 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3588, allocations: 26.64 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3589, allocations: 100.2 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3589, allocations: 27.47 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.359, allocations: 24.19 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3591, allocations: 322.5 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.3592, allocations: 22.58 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.3593, allocations: 41.16 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3594, allocations: 63.42 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3594, allocations: 0 / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.3596, allocations: 95.72 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3596, allocations: 4.875 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3596, allocations: 1.5 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3596, allocations: 1.469 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.3597, allocations: 24.14 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3598, allocations: 5.031 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.3598, allocations: 6.406 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3598, allocations: 2.562 kB / 0.5381 GB, free: 8.258 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 9.563e-05/0.3599, allocations: 124.9 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.36, allocations: 17.5 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.3601, allocations: 11.41 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3601, allocations: 1.125 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3601, allocations: 5.344 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3601, allocations: 0 / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.3605, allocations: 400.2 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3605, allocations: 1.25 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3606, allocations: 15.27 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3606, allocations: 1.062 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3606, allocations: 5.188 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3606, allocations: 1.188 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3606, allocations: 5.125 kB / 0.5386 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.3609, allocations: 195.2 kB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.361, allocations: 100 kB / 0.5389 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.361, allocations: 6.5 kB / 0.5389 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.3611, allocations: 2.281 kB / 0.5389 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3611, allocations: 6.891 kB / 0.5389 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3611, allocations: 3.844 kB / 0.5389 GB, free: 7.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3612, allocations: 124.4 kB / 0.539 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3613, allocations: 4 kB / 0.539 GB, free: 7.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.3616, allocations: 49.45 kB / 0.5391 GB, free: 7.293 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.001351/0.3629, allocations: 0.5399 MB / 0.5396 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3631, allocations: 53.42 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3631, allocations: 5.219 kB / 0.5397 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.3632, allocations: 33.48 kB / 0.5397 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3636, allocations: 44.34 kB / 0.5398 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.364, allocations: 218.4 kB / 0.54 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.3643, allocations: 0.7024 MB / 0.5406 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3643, allocations: 24.83 kB / 0.5407 GB, free: 6.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3643, allocations: 1.094 kB / 0.5407 GB, free: 6.031 MB / 398.1 MB Notification: Performance of Templates: time 0.00456/0.3689, allocations: 2.414 MB / 0.543 GB, free: 4.781 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches