Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009599/0.0009599, 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.001001/0.001001, allocations: 163.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 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.059 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.2489/0.2489, allocations: 34.85 MB / 296.6 MB, free: 492 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.865e-05, allocations: 6.609 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002266/0.002285, allocations: 1.766 MB / 327.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003582, allocations: 1.009 MB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.003655, allocations: 0 / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.003919, allocations: 35.7 kB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.004173, allocations: 103.5 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004332, allocations: 75.62 kB / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004478, allocations: 108.4 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.004552, allocations: 11.98 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.004636, allocations: 55.77 kB / 329.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.004709, allocations: 27.91 kB / 329.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004723, allocations: 4 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.004797, allocations: 43.92 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.004841, allocations: 27.91 kB / 329.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004875, allocations: 19.88 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.005018, allocations: 99.64 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00502, allocations: 0 / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00502, allocations: 0 / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005024, allocations: 4 kB / 329.4 MB, free: 3.707 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.0003577/0.005381, allocations: 313.6 kB / 329.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.005415, allocations: 12.03 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.00545, allocations: 12.92 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.005603, allocations: 141.6 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.005621, allocations: 4.375 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.00564, allocations: 384 / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.005762, allocations: 69.75 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005772, allocations: 192 / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.00578, allocations: 384 / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.005788, allocations: 7.938 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.005815, allocations: 11.94 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.006035, allocations: 166 kB / 330.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.006126, allocations: 93.2 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.006145, allocations: 8.859 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006155, allocations: 4 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.216e-05/0.006237, allocations: 70.14 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.006239, allocations: 0 / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002642/0.006503, allocations: 117.5 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.006532, allocations: 59.39 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.006629, allocations: 165.7 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006642, allocations: 25.7 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.00667, allocations: 92.12 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.006695, allocations: 35.72 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.006722, allocations: 17.72 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.006788, allocations: 326.8 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.006805, allocations: 14.81 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.006827, allocations: 17.72 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.006869, allocations: 56.44 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006869, allocations: 0 / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.699e-05/0.006936, allocations: 64.5 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006947, allocations: 7.938 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006952, allocations: 0 / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.006963, allocations: 0 / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.007018, allocations: 19.94 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.007021, allocations: 4.375 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.007045, allocations: 3.984 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.007051, allocations: 8.031 kB / 331.3 MB, free: 1.613 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.603e-05/0.007107, allocations: 116.7 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.00712, allocations: 15.92 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.00721, allocations: 75.08 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007213, allocations: 4 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.007214, allocations: 0 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007217, allocations: 0 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.007406, allocations: 283.5 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007408, allocations: 3.938 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.007431, allocations: 16.02 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.007433, allocations: 4 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.007439, allocations: 4 kB / 331.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00744, allocations: 4.172 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.007442, allocations: 4 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.007536, allocations: 211 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.007549, allocations: 19.83 kB / 332 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.007562, allocations: 0 / 332 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.007602, allocations: 8 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.007623, allocations: 3.984 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.007633, allocations: 4 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.007671, allocations: 56.56 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007671, allocations: 3.938 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.007816, allocations: 27.94 kB / 332.1 MB, free: 0.6953 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.00115/0.008966, allocations: 0.5593 MB / 332.7 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.009046, allocations: 44.77 kB / 332.7 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.00905, allocations: 4 kB / 332.7 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.009077, allocations: 16.86 kB / 332.8 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.009243, allocations: 40.34 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.009513, allocations: 220.2 kB / 333 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.009557, allocations: 63.34 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.009588, allocations: 21.39 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.009648, allocations: 67.36 kB / 333.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009649, allocations: 0 / 333.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of Templates: time 0.00318/0.01283, allocations: 2.01 MB / 335.2 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.130117871798575]