Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001017/0.001017, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001086/0.001086, allocations: 165.5 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.9686/0.9686, allocations: 177 MB / 205.2 MB, free: 5.066 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.2549/0.2549, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.211e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002233/0.002255, allocations: 1.764 MB / 327.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.004042, allocations: 1.73 MB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.004109, allocations: 4 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.00434, allocations: 35.77 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.004637, allocations: 107.3 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.004816, allocations: 83.66 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.004956, allocations: 108.4 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.005028, allocations: 15.97 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.005111, allocations: 55.84 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.005313, allocations: 35.89 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.005327, allocations: 4 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.005479, allocations: 115.7 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.005523, allocations: 19.91 kB / 330.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.005553, allocations: 23.92 kB / 330.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005752, allocations: 159.5 kB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005754, allocations: 0 / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005754, allocations: 0 / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.005757, allocations: 0 / 330.2 MB, free: 2.836 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.0003536/0.006111, allocations: 333.5 kB / 330.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.006139, allocations: 12.02 kB / 330.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.006168, allocations: 4.938 kB / 330.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.006309, allocations: 142.2 kB / 330.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.006325, allocations: 8.375 kB / 330.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.006341, allocations: 384 / 330.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.006466, allocations: 105.1 kB / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.006475, allocations: 7.922 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.006483, allocations: 4 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.006487, allocations: 0 / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.006511, allocations: 14.81 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.006697, allocations: 165.9 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.006779, allocations: 89.34 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.006797, allocations: 12.8 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.006807, allocations: 4 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.552e-05/0.006883, allocations: 62.16 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006884, allocations: 0 / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002567/0.007141, allocations: 113.5 kB / 331.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.007175, allocations: 89.05 kB / 331.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.007272, allocations: 156.3 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007287, allocations: 29.7 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.007317, allocations: 92.11 kB / 331.7 MB, free: 1.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007341, allocations: 27.73 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.007371, allocations: 25.7 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.007458, allocations: 326.8 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.007475, allocations: 6.828 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.007515, allocations: 64.2 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.007562, allocations: 40.52 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007563, allocations: 4.031 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.014e-05/0.007643, allocations: 72.75 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.007655, allocations: 4 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.00766, allocations: 0 / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.007674, allocations: 4 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.007732, allocations: 19.98 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.007735, allocations: 0 / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.007764, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007771, allocations: 4 kB / 332.2 MB, free: 0.6172 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 7.029e-05/0.007841, allocations: 120.6 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.007856, allocations: 15.92 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.00796, allocations: 66.45 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.007965, allocations: 4 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.007967, allocations: 0 / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.007972, allocations: 3.984 kB / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.008197, allocations: 291.6 kB / 332.7 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.008199, allocations: 0 / 332.7 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.008223, allocations: 15.94 kB / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008224, allocations: 0 / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.008232, allocations: 8.016 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.008233, allocations: 0 / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008235, allocations: 4.078 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.008355, allocations: 219.7 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.00837, allocations: 11.94 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.008386, allocations: 3.984 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.008426, allocations: 8 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.00845, allocations: 11.92 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.00846, allocations: 0 / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.0085, allocations: 45.08 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0085, allocations: 4 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.008674, allocations: 47.86 kB / 333.1 MB, free: 15.69 MB / 314.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.001678/0.01035, allocations: 0.6905 MB / 333.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01045, allocations: 40.78 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01046, allocations: 4 kB / 333.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.01049, allocations: 24.8 kB / 333.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.01066, allocations: 37.36 kB / 333.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.01097, allocations: 200 kB / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.01101, allocations: 63.34 kB / 334.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.01106, allocations: 16.97 kB / 334.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.01113, allocations: 79.48 kB / 334.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01113, allocations: 0 / 334.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Templates: time 0.004201/0.01534, allocations: 2.773 MB / 337 MB, free: 12.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.8697250899858773]