Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.6 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.2246/0.2246, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4225, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003768/0.4263, allocations: 2.366 MB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.4289, allocations: 1.386 MB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.4291, allocations: 3.688 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.4297, allocations: 293.5 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.4304, allocations: 346.4 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.4309, allocations: 204.8 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.4316, allocations: 0.5595 MB / 0.5367 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.4317, allocations: 62.17 kB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.4321, allocations: 242.5 kB / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.4324, allocations: 272.1 kB / 0.5373 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.4325, allocations: 18.34 kB / 0.5373 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.4327, allocations: 55.55 kB / 0.5374 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.4328, allocations: 116.2 kB / 0.5375 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.433, allocations: 184.5 kB / 0.5377 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.4335, allocations: 426 kB / 0.5381 GB, free: 8.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4336, allocations: 0 / 0.5381 GB, free: 8.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4336, allocations: 0 / 0.5381 GB, free: 8.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4336, allocations: 1.344 kB / 0.5381 GB, free: 8.973 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001279/0.4349, allocations: 0.7892 MB / 0.5388 GB, free: 8.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4349, allocations: 14.44 kB / 0.5388 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4351, allocations: 60.75 kB / 0.5389 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.4358, allocations: 434.5 kB / 0.5393 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4358, allocations: 14.02 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.4359, allocations: 22.11 kB / 0.5394 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.4363, allocations: 203.1 kB / 0.5395 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4363, allocations: 1.188 kB / 0.5395 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.4364, allocations: 6.266 kB / 0.5396 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4364, allocations: 3.438 kB / 0.5396 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.4367, allocations: 95.97 kB / 0.5396 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.4377, allocations: 0.8733 MB / 0.5405 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.4383, allocations: 285.7 kB / 0.5408 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.4386, allocations: 92.67 kB / 0.5409 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.4386, allocations: 17.77 kB / 0.5409 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.439, allocations: 217.6 kB / 0.5411 GB, free: 6.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.439, allocations: 0 / 0.5411 GB, free: 6.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002169/0.4412, allocations: 1.008 MB / 0.5421 GB, free: 5.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.4413, allocations: 163.6 kB / 0.5422 GB, free: 5.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.4422, allocations: 0.6633 MB / 0.5429 GB, free: 5.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4423, allocations: 38.05 kB / 0.5429 GB, free: 5.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.4425, allocations: 231 kB / 0.5431 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4426, allocations: 124.5 kB / 0.5433 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4427, allocations: 75.25 kB / 0.5433 GB, free: 4.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4429, allocations: 370.7 kB / 0.5437 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.4432, allocations: 102.5 kB / 0.5438 GB, free: 4.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.4435, allocations: 181 kB / 0.5439 GB, free: 4.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.444, allocations: 296.9 kB / 0.5442 GB, free: 4.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.444, allocations: 5.062 kB / 0.5442 GB, free: 4.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008283/0.4449, allocations: 413.5 kB / 0.5446 GB, free: 3.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4449, allocations: 6.688 kB / 0.5446 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4449, allocations: 2.719 kB / 0.5446 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.445, allocations: 3.938 kB / 0.5446 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4453, allocations: 81.19 kB / 0.5447 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.4453, allocations: 4.312 kB / 0.5447 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4455, allocations: 25.3 kB / 0.5447 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.4456, allocations: 21.08 kB / 0.5448 GB, free: 3.805 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002671/0.4459, allocations: 207.6 kB / 0.545 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.446, allocations: 67.95 kB / 0.545 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.4461, allocations: 67.59 kB / 0.5451 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4462, allocations: 5.656 kB / 0.5451 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.4462, allocations: 1 kB / 0.5451 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4462, allocations: 6.172 kB / 0.5451 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.4478, allocations: 1.28 MB / 0.5464 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4478, allocations: 8.156 kB / 0.5464 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.448, allocations: 47.91 kB / 0.5464 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.448, allocations: 4 kB / 0.5464 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.448, allocations: 16.69 kB / 0.5464 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.448, allocations: 7.984 kB / 0.5464 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.448, allocations: 4.547 kB / 0.5464 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.449, allocations: 0.824 MB / 0.5472 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.4491, allocations: 124.5 kB / 0.5474 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.4492, allocations: 23.92 kB / 0.5474 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.4495, allocations: 19.98 kB / 0.5474 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.4496, allocations: 31.91 kB / 0.5474 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4496, allocations: 23.98 kB / 0.5475 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.4502, allocations: 486.8 kB / 0.5479 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4502, allocations: 0 / 0.5479 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.4508, allocations: 92 kB / 0.548 GB, free: 492 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001188/0.452, allocations: 473.8 kB / 0.5485 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.4526, allocations: 287.7 kB / 0.5487 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4526, allocations: 0 / 0.5487 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.4529, allocations: 151.7 kB / 0.5489 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.454, allocations: 157.2 kB / 0.549 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4555, allocations: 0.9368 MB / 0.5499 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.456, allocations: 0.8668 MB / 0.5508 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.4561, allocations: 51.42 kB / 0.5508 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4561, allocations: 4 kB / 0.5508 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01007/0.4662, allocations: 6.606 MB / 0.5573 GB, free: 7.082 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches