Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9725/0.9725, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3126/0.3126, allocations: 34.86 MB / 296.6 MB, free: 440 kB / 266.7 MB " [Timeout remaining time 180] 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.758e-05, allocations: 3.625 kB / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002111/0.002129, allocations: 1.773 MB / 327.8 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.00324, allocations: 1.002 MB / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.003297, allocations: 4 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.003511, allocations: 39.72 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.003737, allocations: 99.47 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.003878, allocations: 79.59 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.004003, allocations: 108.4 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.004066, allocations: 11.97 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.004139, allocations: 55.78 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.0042, allocations: 27.89 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.004212, allocations: 4 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.004281, allocations: 47.92 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.004325, allocations: 19.92 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.004353, allocations: 19.92 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00449, allocations: 99.59 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004492, allocations: 0 / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004493, allocations: 0 / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.004496, allocations: 4 kB / 329.4 MB, free: 3.664 MB / 298.7 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.0002953/0.004791, allocations: 317.6 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.514e-05/0.004816, allocations: 8.031 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.004841, allocations: 12.92 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.004961, allocations: 141.6 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.004979, allocations: 8.375 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.004994, allocations: 4.375 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.005077, allocations: 61.77 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.005083, allocations: 192 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.005089, allocations: 384 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.005094, allocations: 3.938 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.005117, allocations: 15.92 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.005289, allocations: 165.9 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.005368, allocations: 81.3 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.005388, allocations: 24.86 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.005397, allocations: 0 / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/0.00547, allocations: 66.14 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005471, allocations: 0 / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002419/0.005713, allocations: 117.5 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.005737, allocations: 51.41 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.005827, allocations: 165.7 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005841, allocations: 33.7 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.005869, allocations: 96.09 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.005891, allocations: 31.73 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.005917, allocations: 21.7 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.005985, allocations: 322.8 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006, allocations: 10.83 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/0.006023, allocations: 25.69 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.006065, allocations: 44.47 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006065, allocations: 0 / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.938e-05/0.006135, allocations: 72.48 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.006145, allocations: 7.938 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006149, allocations: 8.031 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.006157, allocations: 0 / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.00621, allocations: 19.92 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006215, allocations: 384 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.00624, allocations: 4 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006245, allocations: 4 kB / 331.3 MB, free: 1.578 MB / 298.7 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 5.625e-05/0.006301, allocations: 120.6 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.006314, allocations: 11.94 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.006405, allocations: 83.06 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006407, allocations: 0 / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006408, allocations: 4 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00641, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.006605, allocations: 287.5 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006607, allocations: 3.938 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.00663, allocations: 11.98 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006632, allocations: 0 / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006636, allocations: 0 / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006638, allocations: 4.234 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006639, allocations: 3.938 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.006734, allocations: 219 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.006746, allocations: 19.88 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.006762, allocations: 7.984 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.006799, allocations: 0 / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.006818, allocations: 11.98 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.006827, allocations: 0 / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.006864, allocations: 56.5 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006864, allocations: 0 / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.007003, allocations: 23.94 kB / 332.1 MB, free: 0.6523 MB / 298.7 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 (9): * Single equations (assignments): 7 * 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.00116/0.008163, allocations: 0.556 MB / 332.7 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.008236, allocations: 44.77 kB / 332.7 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.008238, allocations: 0 / 332.7 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.008268, allocations: 28.84 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.008429, allocations: 36.47 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.008687, allocations: 220.2 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.008732, allocations: 67.33 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.008763, allocations: 21.27 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.008821, allocations: 67.38 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008822, allocations: 0 / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003144/0.01197, allocations: 2.012 MB / 335.2 MB, free: 13.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9795472100377083]