Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009516/0.0009516, allocations: 88.86 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.0009572/0.0009572, allocations: 164.4 kB / 24.91 MB, free: 8.715 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.9706/0.9706, allocations: 177 MB / 205.2 MB, free: 5.016 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.2502/0.2502, allocations: 34.86 MB / 296.6 MB, free: 476 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.928e-05, allocations: 2.312 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003848/0.003877, allocations: 1.778 MB / 327.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.00566, allocations: 0.9978 MB / 328.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.005755, allocations: 0 / 328.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.006074, allocations: 43.7 kB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.006481, allocations: 103.5 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.006753, allocations: 79.59 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.006954, allocations: 108.4 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.007042, allocations: 7.984 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.01021, allocations: 59.77 kB / 329.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.0103, allocations: 27.91 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.01032, allocations: 4 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01043, allocations: 47.91 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.01049, allocations: 19.86 kB / 329.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.01052, allocations: 15.94 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.01073, allocations: 99.66 kB / 329.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.01073, allocations: 4 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01074, allocations: 0 / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.01074, allocations: 0 / 329.4 MB, free: 3.711 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.0003914/0.01113, allocations: 329.5 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.01116, allocations: 8.031 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.0112, allocations: 12.92 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.01138, allocations: 154.2 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.01139, allocations: 384 / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.01141, allocations: 4.375 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.01153, allocations: 61.77 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01154, allocations: 8.172 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.01154, allocations: 384 / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.01155, allocations: 7.938 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.01158, allocations: 7.938 kB / 330 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.0118, allocations: 165.9 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.0119, allocations: 89.34 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.01192, allocations: 8.859 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01193, allocations: 0 / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.846e-05/0.01203, allocations: 74.12 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.01203, allocations: 4 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003117/0.01234, allocations: 109.5 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.01238, allocations: 59.41 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.0125, allocations: 181.2 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01252, allocations: 25.7 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.01255, allocations: 96.11 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01258, allocations: 23.8 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.01262, allocations: 29.69 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.01271, allocations: 322.8 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.01273, allocations: 6.828 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.01276, allocations: 29.7 kB / 331.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.01282, allocations: 52.44 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.01282, allocations: 0 / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001001/0.01292, allocations: 64.5 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01293, allocations: 7.938 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01293, allocations: 0 / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01295, allocations: 0 / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.01301, allocations: 20.3 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.01302, allocations: 4 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.01305, allocations: 8.031 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01306, allocations: 8 kB / 331.3 MB, free: 1.59 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.05e-05/0.01313, allocations: 112.7 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.01315, allocations: 15.92 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.01327, allocations: 75.02 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01327, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01327, allocations: 4 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01327, allocations: 3.984 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.01352, allocations: 291.4 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01352, allocations: 7.969 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.01355, allocations: 12 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01355, allocations: 0 / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.01356, allocations: 0 / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01356, allocations: 240 / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01356, allocations: 7.984 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.01368, allocations: 215 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.0137, allocations: 11.89 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01371, allocations: 0 / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.01377, allocations: 8 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.0138, allocations: 11.98 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01381, allocations: 0 / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.01387, allocations: 55.58 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 0 / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01409, allocations: 27.92 kB / 332.2 MB, free: 0.6758 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.001525/0.01562, allocations: 0.5649 MB / 332.7 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.01572, allocations: 40.78 kB / 332.8 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01573, allocations: 4 kB / 332.8 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.01576, allocations: 20.84 kB / 332.8 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01599, allocations: 39.11 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.01634, allocations: 216 kB / 333 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.01641, allocations: 71.52 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.01645, allocations: 21.27 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.01653, allocations: 63.38 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01653, allocations: 3.938 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.004316/0.02084, allocations: 2.018 MB / 335.2 MB, free: 13.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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: 3.0575900389812887]