Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.000728/0.000728, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001811, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008519/0.0008519, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008707/0.001723, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9572/0.9572, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08878/1.046, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2941/0.2941, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02726/0.3213, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 293.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.751e-05, allocations: 3.516 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003669/0.003697, allocations: 1.754 MB / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005075, allocations: 1.013 MB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.005173, allocations: 0 / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.005416, allocations: 51.77 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.005715, allocations: 103.4 kB / 296.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.005926, allocations: 75.66 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.006096, allocations: 99.59 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.006141, allocations: 8.219 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.006278, allocations: 71.88 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.006368, allocations: 27.86 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.006384, allocations: 4 kB / 297.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.006481, allocations: 43.91 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.006533, allocations: 19.92 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.006578, allocations: 15.94 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.006772, allocations: 103.5 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-05/0.006792, allocations: 0 / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006793, allocations: 0 / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.006811, allocations: 0 / 297.3 MB, free: 1.699 MB / 282.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.0005518/0.007363, allocations: 356.9 kB / 297.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.007414, allocations: 8.922 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.007462, allocations: 12.92 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.00766, allocations: 166.4 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.007682, allocations: 4.375 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.007692, allocations: 384 / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.007835, allocations: 65.7 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007845, allocations: 192 / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.007854, allocations: 384 / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.007861, allocations: 3.938 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.007893, allocations: 4 kB / 297.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.008022, allocations: 74.69 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.008132, allocations: 33.44 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.008155, allocations: 16.86 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.00817, allocations: 0 / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.00832, allocations: 70.16 kB / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/0.008322, allocations: 0 / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001534/0.008476, allocations: 53.67 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.008518, allocations: 55.41 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.008663, allocations: 219.9 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.008685, allocations: 29.7 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.009114, allocations: 104 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.009144, allocations: 15.84 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.009184, allocations: 29.69 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.009282, allocations: 326.8 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.009304, allocations: 6.828 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.009331, allocations: 13.72 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.009374, allocations: 35.34 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009377, allocations: 4 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.441e-05/0.009462, allocations: 64.44 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.009478, allocations: 6.5 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.009484, allocations: 4.031 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.009498, allocations: 7.984 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.009579, allocations: 11.98 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009582, allocations: 0 / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.009615, allocations: 7.938 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.009621, allocations: 0 / 299.1 MB, free: 15.74 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 (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 8.635e-05/0.009707, allocations: 120.6 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.009723, allocations: 15.92 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.009833, allocations: 58.98 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.009836, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.009839, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.009844, allocations: 3.938 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.009944, allocations: 94.22 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.009946, allocations: 0 / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.009974, allocations: 8 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.009989, allocations: 11.91 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009992, allocations: 0 / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.01, allocations: 7.984 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01, allocations: 3.938 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01, allocations: 3.984 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.0101, allocations: 90.7 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01012, allocations: 4 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.01014, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.01017, allocations: 7.984 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01018, allocations: 0 / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.01025, allocations: 71.62 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01025, allocations: 0 / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.01038, allocations: 27.92 kB / 299.6 MB, free: 15.16 MB / 298.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.001299/0.01168, allocations: 0.5373 MB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01181, allocations: 36.72 kB / 300.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.01183, allocations: 0 / 300.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.01185, allocations: 16.86 kB / 300.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.01204, allocations: 35.97 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.01262, allocations: 231.4 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.01267, allocations: 75.33 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.01272, allocations: 8.547 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.01279, allocations: 79.28 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.133e-06/0.01279, allocations: 0 / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Templates: time 0.004077/0.01687, allocations: 1.84 MB / 302.5 MB, free: 12.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.8616424035280943]