Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001151, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 72.08 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.564, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004691/0.5687, allocations: 1.733 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.5712, allocations: 1.019 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.5714, allocations: 5.312 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.572, allocations: 45.69 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.5725, allocations: 109.8 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.5728, allocations: 76.3 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.573, allocations: 104.9 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.5732, allocations: 10.86 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.5733, allocations: 42.91 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.5734, allocations: 42.78 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.5735, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.5736, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.5737, allocations: 30.84 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.5738, allocations: 45.2 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.5741, allocations: 136.7 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5741, allocations: 1.312 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5741, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5741, allocations: 0 / 0.5344 GB, free: 11.03 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.0007311/0.5749, allocations: 455.7 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.5749, allocations: 8.719 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.575, allocations: 15.62 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.5754, allocations: 220.6 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5754, allocations: 5.844 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.5754, allocations: 10.33 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.5756, allocations: 53.8 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5757, allocations: 1.062 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5757, allocations: 3.938 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5757, allocations: 1.094 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.5758, allocations: 21.98 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.5763, allocations: 304 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.5765, allocations: 58.36 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.5766, allocations: 21.78 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.5766, allocations: 5.125 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.5768, allocations: 65.05 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.5768, allocations: 3.938 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007033/0.5775, allocations: 189.1 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.5776, allocations: 52.5 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.5779, allocations: 275 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.578, allocations: 31.02 kB / 0.5362 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.5781, allocations: 115.6 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.5781, allocations: 28.06 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.5782, allocations: 19.38 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5783, allocations: 332.2 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.5784, allocations: 18.52 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.5785, allocations: 36.11 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5786, allocations: 62.64 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5786, allocations: 5.125 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.5788, allocations: 105.1 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5789, allocations: 4.75 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5789, allocations: 1.281 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5789, allocations: 1.312 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.579, allocations: 29.14 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.579, allocations: 0.9062 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.5791, allocations: 9.688 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.5791, allocations: 2.5 kB / 0.5369 GB, free: 8.758 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.0001393/0.5793, allocations: 133.6 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.5793, allocations: 15.5 kB / 0.537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.5794, allocations: 21.3 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5794, allocations: 1.469 kB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5794, allocations: 0 / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5794, allocations: 3.938 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.5799, allocations: 408.5 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5799, allocations: 1.031 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.58, allocations: 11.27 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.58, allocations: 1.188 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.58, allocations: 9.25 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.58, allocations: 1.188 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.58, allocations: 5.031 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.5803, allocations: 214 kB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.5804, allocations: 88.23 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.5804, allocations: 14.08 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.5805, allocations: 2.094 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.5806, allocations: 3.312 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.5806, allocations: 7.109 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.5808, allocations: 203.8 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5808, allocations: 0 / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.5811, allocations: 29.88 kB / 0.538 GB, free: 7.762 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.001295/0.5824, allocations: 460.9 kB / 0.5384 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5827, allocations: 58.67 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5827, allocations: 0 / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.5828, allocations: 29.02 kB / 0.5385 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.5831, allocations: 28.41 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.5837, allocations: 288.7 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.5841, allocations: 0.7244 MB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.5842, allocations: 18.31 kB / 0.5396 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.5842, allocations: 19.97 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5842, allocations: 0 / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.006032/0.5902, allocations: 1.779 MB / 0.5413 GB, free: 5.629 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches