Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009221/0.0009221, 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.00101/0.00101, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.078 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.242/0.242, allocations: 34.85 MB / 296.6 MB, free: 460 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.162e-05, allocations: 2.312 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002392/0.002414, allocations: 1.788 MB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003631, allocations: 1.009 MB / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.003701, allocations: 4 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.004007, allocations: 103.6 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.004277, allocations: 131.4 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.00444, allocations: 87.53 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004592, allocations: 120.4 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.004675, allocations: 19.95 kB / 329.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.004771, allocations: 71.77 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.00486, allocations: 59.86 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.004874, allocations: 7.938 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.004962, allocations: 63.89 kB / 329.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.005006, allocations: 23.92 kB / 329.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.005043, allocations: 23.88 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.005209, allocations: 123.6 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.005211, allocations: 3.938 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005212, allocations: 0 / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005216, allocations: 0 / 329.6 MB, free: 3.445 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003612/0.005577, allocations: 349.2 kB / 330 MB, free: 3.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.005608, allocations: 12.03 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.005637, allocations: 12.94 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.005786, allocations: 153.5 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005801, allocations: 4.375 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.00582, allocations: 4.375 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.005927, allocations: 65.77 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.005936, allocations: 8.109 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005943, allocations: 384 / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.005949, allocations: 3.938 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.005981, allocations: 11.98 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.006194, allocations: 181.9 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.006336, allocations: 93.28 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.006357, allocations: 20.78 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.006368, allocations: 128 / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.006449, allocations: 66.2 kB / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.00645, allocations: 0 / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000391/0.006841, allocations: 171.1 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006873, allocations: 55.41 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.007, allocations: 212.3 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.007015, allocations: 33.7 kB / 331.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.007049, allocations: 100 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.007078, allocations: 35.69 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.007111, allocations: 33.69 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.007191, allocations: 326.8 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.007212, allocations: 18.75 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.007238, allocations: 21.72 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.007288, allocations: 52.5 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007289, allocations: 0 / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.701e-05/0.007376, allocations: 93.61 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.007386, allocations: 4 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00739, allocations: 0 / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007402, allocations: 4 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.007457, allocations: 20 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.007463, allocations: 7.922 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.007491, allocations: 4 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.007497, allocations: 0 / 331.8 MB, free: 1.133 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 (13): * Single equations (assignments): 13 * 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 6.325e-05/0.00756, allocations: 116.7 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.007577, allocations: 23.95 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.007688, allocations: 87.27 kB / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.007691, allocations: 4 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007695, allocations: 4 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.007699, allocations: 3.984 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.007965, allocations: 328.2 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007966, allocations: 0 / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.008001, allocations: 19.92 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008004, allocations: 0 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.008012, allocations: 8.062 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008014, allocations: 4 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008015, allocations: 0 / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008128, allocations: 238.8 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.008142, allocations: 15.91 kB / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.008157, allocations: 0 / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.0082, allocations: 7.984 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.008225, allocations: 15.92 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.008237, allocations: 4 kB / 332.6 MB, free: 204 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.008287, allocations: 72.62 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008287, allocations: 0 / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.008441, allocations: 35.92 kB / 332.7 MB, free: 92 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001434/0.009875, allocations: 0.6324 MB / 333.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.009978, allocations: 64.69 kB / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.009982, allocations: 0 / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.01002, allocations: 28.8 kB / 333.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.0102, allocations: 32.14 kB / 333.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.01054, allocations: 277.3 kB / 333.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.01058, allocations: 71.33 kB / 333.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.01062, allocations: 16.64 kB / 333.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.01068, allocations: 71.36 kB / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01068, allocations: 0 / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003895/0.01458, allocations: 2.308 MB / 336.2 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.017074097879231]