Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009784/0.0009784, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.00111/0.00111, allocations: 161.8 kB / 24.99 MB, free: 8.246 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.9233/0.9233, allocations: 177 MB / 205.2 MB, free: 5.578 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.2643/0.2643, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.355e-05, allocations: 2.312 kB / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00259/0.002613, allocations: 1.763 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004072, allocations: 1.012 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.004154, allocations: 3.938 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.004443, allocations: 51.75 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.004749, allocations: 115.4 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.004934, allocations: 75.66 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.005115, allocations: 103.6 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.005207, allocations: 11.97 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.005299, allocations: 51.84 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.00537, allocations: 23.92 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.005387, allocations: 4 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.005482, allocations: 47.91 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.005544, allocations: 39.78 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.005588, allocations: 15.94 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.005787, allocations: 119.6 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005789, allocations: 0 / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005791, allocations: 4 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005795, allocations: 0 / 382.3 MB, free: 14.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007238/0.006519, allocations: 471.6 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.006554, allocations: 8.031 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.006607, allocations: 16.84 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.006801, allocations: 173.2 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.006821, allocations: 4.375 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.00684, allocations: 384 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.006971, allocations: 70.94 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006983, allocations: 4.172 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.006993, allocations: 384 / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.007003, allocations: 7.875 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.007047, allocations: 8 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.007371, allocations: 299.8 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.007485, allocations: 59.09 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.007519, allocations: 19.67 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.00753, allocations: 4 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.007637, allocations: 72.98 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007638, allocations: 0 / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.008049, allocations: 161.3 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.008082, allocations: 55.41 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.008278, allocations: 277.6 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.008293, allocations: 29.7 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.008361, allocations: 162.9 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.008391, allocations: 31.77 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.008431, allocations: 27.38 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.008559, allocations: 0.5079 MB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.008588, allocations: 12 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.00863, allocations: 35.36 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.008697, allocations: 43.38 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008698, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001348/0.008833, allocations: 97.45 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008845, allocations: 4 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00885, allocations: 4 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008862, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.008945, allocations: 19.94 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.008951, allocations: 8.016 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.008987, allocations: 4 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.008995, allocations: 4 kB / 384.9 MB, free: 11.96 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 (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.668e-05/0.009071, allocations: 163.1 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.009098, allocations: 20.22 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.009267, allocations: 111 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009269, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.009272, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.009277, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.009607, allocations: 413 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009609, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.009639, allocations: 15.92 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009642, allocations: 4 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.009654, allocations: 4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.009656, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009657, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.009827, allocations: 263.4 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.009844, allocations: 15.91 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.009868, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.00993, allocations: 12.03 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.009969, allocations: 11.92 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.009983, allocations: 4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.0101, allocations: 196.5 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0101, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01035, allocations: 23.94 kB / 386.1 MB, free: 10.64 MB / 362.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.00103/0.01138, allocations: 423.4 kB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01151, allocations: 63.47 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01151, allocations: 4.062 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.01156, allocations: 39.59 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01186, allocations: 31.36 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.01228, allocations: 262.5 kB / 387 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.01233, allocations: 71.33 kB / 387 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.01237, allocations: 17.27 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01241, allocations: 20.5 kB / 387.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01241, allocations: 4.062 kB / 387.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of Templates: time 0.004111/0.01652, allocations: 1.886 MB / 389 MB, free: 7.938 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.14944961713627]