Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001065/0.001065, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001023/0.001023, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9291/0.9291, allocations: 177 MB / 205.2 MB, free: 5.523 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.2846/0.2846, allocations: 34.87 MB / 296.6 MB, free: 0.5273 MB / 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.16e-05, allocations: 2.312 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002219/0.00224, allocations: 1.713 MB / 380.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003415, allocations: 0.9969 MB / 381.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.003492, allocations: 0 / 381.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.003767, allocations: 51.69 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.004062, allocations: 107.5 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.004243, allocations: 83.59 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.004409, allocations: 99.64 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.004453, allocations: 4.234 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.004543, allocations: 55.81 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.004616, allocations: 23.92 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004634, allocations: 4 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.004711, allocations: 31.97 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.004771, allocations: 31.86 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.004811, allocations: 15.94 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.004998, allocations: 99.59 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005, allocations: 0 / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005001, allocations: 4 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005006, allocations: 0 / 382.1 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004625/0.005468, allocations: 471.6 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005502, allocations: 8.031 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.005554, allocations: 16.84 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.005731, allocations: 169.2 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.00575, allocations: 4.375 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.005761, allocations: 8.312 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.00588, allocations: 54.94 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005888, allocations: 192 / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005896, allocations: 8.375 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005904, allocations: 3.938 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.005936, allocations: 15.94 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.006104, allocations: 152.6 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.006209, allocations: 47.11 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.006236, allocations: 11.69 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006249, allocations: 3.984 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-05/0.006345, allocations: 65 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.006346, allocations: 4 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001857/0.006532, allocations: 89.58 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.006563, allocations: 59.34 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.006721, allocations: 269.6 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.006734, allocations: 33.69 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.007057, allocations: 166.9 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.007084, allocations: 7.906 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.007116, allocations: 27.38 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.007226, allocations: 0.4962 MB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.007251, allocations: 15.98 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.007283, allocations: 35.3 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.007331, allocations: 39.36 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007333, allocations: 0 / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.76e-05/0.00742, allocations: 77.53 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007433, allocations: 4 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007437, allocations: 4 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007449, allocations: 0 / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.007517, allocations: 11.94 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007522, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.007553, allocations: 8.016 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007558, allocations: 4 kB / 384.5 MB, free: 12.41 MB / 362.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 (7): * Single equations (assignments): 7 * 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.414e-05/0.007632, allocations: 163.1 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.007649, allocations: 15.91 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.007775, allocations: 91.08 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007777, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007781, allocations: 7.875 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.007786, allocations: 3.984 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.007884, allocations: 164.5 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.007887, allocations: 3.984 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.007904, allocations: 4 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.007908, allocations: 11.98 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007915, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007917, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007918, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.008018, allocations: 124.2 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.008037, allocations: 15.89 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.008053, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.008078, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.008113, allocations: 7.922 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.008125, allocations: 8 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.008213, allocations: 196.5 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008213, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.008364, allocations: 20 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008798/0.009244, allocations: 377.2 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009359, allocations: 39.61 kB / 385.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.00936, allocations: 0 / 385.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.009394, allocations: 27.67 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.009584, allocations: 27.59 kB / 385.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.009935, allocations: 234.5 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.009974, allocations: 71.33 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.01001, allocations: 24.53 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01005, allocations: 16.5 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01005, allocations: 3.938 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003439/0.01349, allocations: 1.663 MB / 387.8 MB, free: 9.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.1292487331666052]