Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.002426/0.002426, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002782/0.002782, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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.64/1.64, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.3597/0.3597, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.082e-05, allocations: 4.281 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003816/0.003847, allocations: 1.677 MB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.005845, allocations: 0.9854 MB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.005913, allocations: 3.938 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.006248, allocations: 51.8 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.006598, allocations: 107.6 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.006793, allocations: 75.52 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.006985, allocations: 99.69 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.007026, allocations: 8.172 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.00716, allocations: 55.77 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.00727, allocations: 27.91 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.007295, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.007387, allocations: 31.98 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.007462, allocations: 31.86 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.007511, allocations: 15.94 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.00775, allocations: 127.5 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.007752, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007753, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007758, allocations: 0 / 380.6 MB, free: 15.52 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.0007262/0.008484, allocations: 475.3 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.008524, allocations: 8.031 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.008591, allocations: 16.84 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.008871, allocations: 165.3 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.008887, allocations: 4.359 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.008901, allocations: 4.375 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.009047, allocations: 54.17 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.009056, allocations: 192 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.009068, allocations: 4.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.009077, allocations: 3.938 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.009161, allocations: 15.98 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.009403, allocations: 164.6 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.009589, allocations: 59.09 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.009644, allocations: 23.69 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.009661, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.009826, allocations: 72.98 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.009827, allocations: 3.938 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003167/0.01014, allocations: 97.58 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.0102, allocations: 59.33 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.01051, allocations: 293.6 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01053, allocations: 25.7 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.01067, allocations: 170.9 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.0107, allocations: 15.91 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.01075, allocations: 31.31 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003174/0.01107, allocations: 0.5118 MB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.01112, allocations: 12 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.01118, allocations: 31.36 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.01128, allocations: 47.38 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01129, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.01146, allocations: 85.52 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01147, allocations: 4 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01148, allocations: 0 / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01149, allocations: 4.031 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.01157, allocations: 19.94 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.01158, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.01162, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01163, allocations: 320 / 383 MB, free: 12.84 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 0.0001388/0.01177, allocations: 170.9 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.0118, allocations: 15.91 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.01203, allocations: 94.83 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01203, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01204, allocations: 3.938 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01204, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.01224, allocations: 180.5 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01224, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.01227, allocations: 4 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01227, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01229, allocations: 3.984 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01229, allocations: 0 / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01229, allocations: 0 / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01252, allocations: 144.2 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.01254, allocations: 7.953 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01256, allocations: 3.938 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.0126, allocations: 3.984 kB / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.01265, allocations: 15.92 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01266, allocations: 4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.01286, allocations: 204.5 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01286, allocations: 4 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.01307, allocations: 12 kB / 383.9 MB, free: 11.92 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.002889/0.01596, allocations: 433.3 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.01614, allocations: 55.58 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01615, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.01622, allocations: 31.75 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.0165, allocations: 27.92 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.01704, allocations: 246.5 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.01715, allocations: 101.7 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.881e-05/0.01719, allocations: 8.5 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.01724, allocations: 24.48 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01724, allocations: 4 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.005727/0.02296, allocations: 1.654 MB / 386.4 MB, free: 9.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.076205560006201]