Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001135/0.001135, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001579/0.001579, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9485/0.9485, allocations: 177 MB / 204.8 MB, free: 5.562 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.2798/0.2798, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.28e-05, allocations: 3.156 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002262/0.002285, allocations: 1.759 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003652, allocations: 1.015 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.003748, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.004119, allocations: 55.62 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.004467, allocations: 107.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.004666, allocations: 75.62 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004825, allocations: 111.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.004911, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.004993, allocations: 63.75 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.00506, allocations: 19.92 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.005076, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.005156, allocations: 47.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.00522, allocations: 27.91 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.005264, allocations: 27.86 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.005462, allocations: 103.6 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005466, allocations: 4 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005467, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005472, allocations: 0 / 382.3 MB, free: 14.57 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.0006553/0.006127, allocations: 459.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.006185, allocations: 8.031 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.006248, allocations: 20.78 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.006469, allocations: 157.2 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.006491, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.006513, allocations: 12.36 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006645, allocations: 62.88 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.006658, allocations: 8.188 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.00667, allocations: 4.375 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.00668, allocations: 3.938 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.006714, allocations: 11.98 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.007013, allocations: 291.8 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.007119, allocations: 55.11 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.007154, allocations: 15.67 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.007165, allocations: 4 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.418e-05/0.007259, allocations: 76.98 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.00726, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004009/0.007661, allocations: 165.3 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.007696, allocations: 51.41 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.007851, allocations: 259.1 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007866, allocations: 25.7 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.007935, allocations: 158.9 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.007965, allocations: 27.78 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.008001, allocations: 31.38 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.008156, allocations: 0.5001 MB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.008182, allocations: 11.98 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.00822, allocations: 39.3 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.008279, allocations: 43.38 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00828, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.008398, allocations: 101.4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.008413, allocations: 8 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008418, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.008434, allocations: 4.031 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.00851, allocations: 16 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.008517, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.008546, allocations: 3.984 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.008555, allocations: 4 kB / 384.9 MB, free: 11.74 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 9.052e-05/0.008645, allocations: 168.5 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.008665, allocations: 19.84 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.008829, allocations: 107.1 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.008831, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008835, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.00884, allocations: 4.375 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.009144, allocations: 400.9 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.009147, allocations: 4 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.009171, allocations: 8 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.009176, allocations: 4 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.009186, allocations: 4 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009187, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009188, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.009338, allocations: 267.6 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.009358, allocations: 15.89 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.009375, allocations: 4.031 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.009415, allocations: 8 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.00945, allocations: 7.984 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.009461, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.009551, allocations: 183.1 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009551, allocations: 0 / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.009726, allocations: 27.94 kB / 386.1 MB, free: 10.45 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.0008824/0.01061, allocations: 429.6 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01073, allocations: 63.53 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01073, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.01077, allocations: 31.67 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.01099, allocations: 23.98 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.01133, allocations: 241.5 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.01138, allocations: 71.33 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01141, allocations: 21.34 kB / 386.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.01144, allocations: 28.48 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01144, allocations: 0 / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of Templates: time 0.003763/0.01521, allocations: 2.013 MB / 389 MB, free: 7.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.2145439037121832]