Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 79.88 kB / 482.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003139/0.3624, allocations: 1.928 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3643, allocations: 1.127 MB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.3644, allocations: 2.688 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.3649, allocations: 159.1 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.3654, allocations: 185.3 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3656, allocations: 111.5 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.366, allocations: 243.7 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3661, allocations: 33.75 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3663, allocations: 118.7 kB / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3665, allocations: 124.2 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3665, allocations: 12.23 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3667, allocations: 62.17 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.3668, allocations: 54.39 kB / 0.5358 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.3669, allocations: 94.17 kB / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.3672, allocations: 227.7 kB / 0.5361 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3672, allocations: 0 / 0.5361 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3672, allocations: 4 kB / 0.5361 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3672, allocations: 1 kB / 0.5361 GB, free: 10.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000777/0.368, allocations: 0.5291 MB / 0.5366 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3681, allocations: 9.625 kB / 0.5366 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.3681, allocations: 24.66 kB / 0.5367 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.3685, allocations: 282.6 kB / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3685, allocations: 8.219 kB / 0.5369 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.3686, allocations: 13.66 kB / 0.5369 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3688, allocations: 106.8 kB / 0.537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3689, allocations: 0.9062 kB / 0.537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3689, allocations: 4.75 kB / 0.537 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3689, allocations: 1.938 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.369, allocations: 49.39 kB / 0.5371 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.3696, allocations: 469.8 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.37, allocations: 119.2 kB / 0.5377 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3702, allocations: 40.33 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3702, allocations: 10.67 kB / 0.5377 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3704, allocations: 123.4 kB / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3705, allocations: 0 / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.3718, allocations: 0.4959 MB / 0.5383 GB, free: 8.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.3719, allocations: 83.5 kB / 0.5384 GB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.3723, allocations: 369.2 kB / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3724, allocations: 31.95 kB / 0.5388 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3725, allocations: 149.1 kB / 0.5389 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.3726, allocations: 68.86 kB / 0.539 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.3726, allocations: 46.23 kB / 0.539 GB, free: 7.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3728, allocations: 343.1 kB / 0.5394 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3729, allocations: 61.11 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3731, allocations: 99.61 kB / 0.5395 GB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3734, allocations: 153.2 kB / 0.5397 GB, free: 7.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3734, allocations: 4 kB / 0.5397 GB, free: 7.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004216/0.3738, allocations: 230.4 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3739, allocations: 9.219 kB / 0.5399 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3739, allocations: 5.094 kB / 0.5399 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3739, allocations: 1.312 kB / 0.5399 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3741, allocations: 43.27 kB / 0.5399 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3741, allocations: 1.188 kB / 0.5399 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.3742, allocations: 12.2 kB / 0.5399 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3742, allocations: 15.09 kB / 0.54 GB, free: 7.184 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.3744, allocations: 159 kB / 0.5401 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.3744, allocations: 37.02 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.3745, allocations: 35.7 kB / 0.5402 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3745, allocations: 2.844 kB / 0.5402 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3745, allocations: 5.203 kB / 0.5402 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3745, allocations: 0 / 0.5402 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.3755, allocations: 0.7226 MB / 0.5409 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3755, allocations: 1.094 kB / 0.5409 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.3756, allocations: 27.08 kB / 0.5409 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3756, allocations: 3.125 kB / 0.5409 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3757, allocations: 11.83 kB / 0.5409 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3757, allocations: 6.406 kB / 0.5409 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3757, allocations: 2.219 kB / 0.5409 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.3762, allocations: 415.9 kB / 0.5413 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.3763, allocations: 104.6 kB / 0.5414 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.3763, allocations: 11.16 kB / 0.5414 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3765, allocations: 16.8 kB / 0.5415 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3765, allocations: 21.61 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.3766, allocations: 8.312 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000307/0.3769, allocations: 279.2 kB / 0.5418 GB, free: 5.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3769, allocations: 0 / 0.5418 GB, free: 5.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.3773, allocations: 48.06 kB / 0.5418 GB, free: 5.715 MB / 398.1 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 (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.001284/0.3786, allocations: 0.5102 MB / 0.5423 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.379, allocations: 158.2 kB / 0.5425 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.379, allocations: 1.094 kB / 0.5425 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3792, allocations: 83.03 kB / 0.5425 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.3797, allocations: 65.91 kB / 0.5426 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.3807, allocations: 0.5317 MB / 0.5431 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3811, allocations: 0.7639 MB / 0.5439 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3812, allocations: 35.52 kB / 0.5439 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3812, allocations: 0 / 0.5439 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Templates: time 0.006407/0.3876, allocations: 3.61 MB / 0.5474 GB, free: 1.336 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches