Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001626, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, 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.2411/0.2411, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 79.86 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.353, allocations: 62.43 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00303/0.3561, allocations: 1.746 MB / 0.5335 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3578, allocations: 1.029 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.3579, allocations: 5.312 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.3583, allocations: 86.19 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.3586, allocations: 120.8 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3588, allocations: 82.91 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3591, allocations: 123.9 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3592, allocations: 12.25 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3593, allocations: 60.52 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3594, allocations: 60.19 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3594, allocations: 7.938 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3596, allocations: 62.91 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.3596, allocations: 29.11 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.3597, allocations: 44.62 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.36, allocations: 143.1 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.36, allocations: 4 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.36, allocations: 3.938 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.36, allocations: 1.094 kB / 0.5353 GB, free: 10.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005831/0.3606, allocations: 440.1 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3606, allocations: 8.688 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.3607, allocations: 11.47 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.361, allocations: 223.5 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.361, allocations: 6.625 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.361, allocations: 10.34 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3612, allocations: 56.58 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3612, allocations: 1.156 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3612, allocations: 0 / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3612, allocations: 1.219 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.3613, allocations: 24.44 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3617, allocations: 309.4 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.362, allocations: 61.64 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.3621, allocations: 22.02 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3621, allocations: 2.312 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3622, allocations: 73.62 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3623, allocations: 0 / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007757/0.363, allocations: 252.1 kB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3631, allocations: 56.25 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3633, allocations: 235.5 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3634, allocations: 31.84 kB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.3634, allocations: 106 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3635, allocations: 32.64 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3635, allocations: 30.98 kB / 0.5372 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3637, allocations: 330.9 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.3637, allocations: 27.77 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.3638, allocations: 46.83 kB / 0.5376 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.364, allocations: 80.7 kB / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.364, allocations: 0 / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000231/0.3642, allocations: 129.7 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3642, allocations: 11.66 kB / 0.5378 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3642, allocations: 1.125 kB / 0.5378 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3643, allocations: 5.062 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.3644, allocations: 21.42 kB / 0.5378 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3644, allocations: 9.609 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.3644, allocations: 2.156 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3644, allocations: 3.25 kB / 0.5378 GB, free: 8.652 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 (13): * Single equations (assignments): 13 * 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.0001208/0.3646, allocations: 134.5 kB / 0.5379 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3646, allocations: 15.31 kB / 0.538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.3647, allocations: 20.06 kB / 0.538 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3647, allocations: 6.141 kB / 0.538 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3647, allocations: 3.938 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3647, allocations: 3.938 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.3652, allocations: 463.4 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3653, allocations: 0.9375 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.3653, allocations: 15.97 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3653, allocations: 5.344 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3653, allocations: 2.594 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3653, allocations: 1.156 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3654, allocations: 5.266 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3656, allocations: 234.4 kB / 0.5387 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3657, allocations: 96.25 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3657, allocations: 6.125 kB / 0.5388 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.3658, allocations: 7.109 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3659, allocations: 8.281 kB / 0.5388 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3659, allocations: 8.203 kB / 0.5388 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3661, allocations: 173.9 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3661, allocations: 0 / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3663, allocations: 28.58 kB / 0.539 GB, free: 7.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001221/0.3676, allocations: 0.5058 MB / 0.5395 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3678, allocations: 81.81 kB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3678, allocations: 1 kB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.3679, allocations: 38.86 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3683, allocations: 41.08 kB / 0.5397 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.3688, allocations: 323.8 kB / 0.54 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3691, allocations: 0.713 MB / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.3692, allocations: 20.59 kB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3692, allocations: 1.312 kB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Templates: time 0.004223/0.3734, allocations: 2.273 MB / 0.5429 GB, free: 5.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches