Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001113/0.001113, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001362/0.001362, allocations: 163.4 kB / 25.61 MB, free: 8.582 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 1.054/1.054, allocations: 177 MB / 205.9 MB, free: 4.457 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.1815/0.1815, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.829e-05, allocations: 5.859 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001649/0.001668, allocations: 1.649 MB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.002268, allocations: 0.5407 MB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.002324, allocations: 0 / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.00256, allocations: 131.6 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.002779, allocations: 123.5 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.002971, allocations: 115.6 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003118, allocations: 103.7 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.003203, allocations: 12 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.003263, allocations: 55.86 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.003353, allocations: 91.83 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.003364, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.003425, allocations: 51.91 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.003463, allocations: 23.92 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.003483, allocations: 15.88 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003598, allocations: 103.6 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.0036, allocations: 4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.0036, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003603, allocations: 3.938 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002696/0.003873, allocations: 467.7 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.0039, allocations: 16.03 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.003928, allocations: 16.84 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.004019, allocations: 152.4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.004028, allocations: 4.312 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.004043, allocations: 8.375 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.004108, allocations: 54.94 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.004116, allocations: 192 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004122, allocations: 4.375 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.004127, allocations: 384 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.004147, allocations: 15.92 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.00433, allocations: 276.4 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.004378, allocations: 39 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.004393, allocations: 19.75 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.004406, allocations: 0 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.004419, allocations: 37.39 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.00442, allocations: 0 / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000384/0.004804, allocations: 157.3 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.004824, allocations: 59.34 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.004917, allocations: 274.7 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.004923, allocations: 29.64 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.004962, allocations: 162.8 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.004983, allocations: 35.72 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.005007, allocations: 27.38 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.005054, allocations: 0.5001 MB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.005067, allocations: 11.98 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.005079, allocations: 4 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.005109, allocations: 31.67 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00511, allocations: 3.984 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.229e-05/0.005173, allocations: 77.47 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.005182, allocations: 12 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005185, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.005194, allocations: 432 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.005242, allocations: 12 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005244, allocations: 0 / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.005262, allocations: 11.98 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005267, allocations: 8 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.627e-05/0.005313, allocations: 156.6 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.005337, allocations: 19.84 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.005431, allocations: 107.3 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005433, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005434, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005437, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.005634, allocations: 357.5 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005635, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.005664, allocations: 12 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005667, allocations: 4 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.005672, allocations: 3.984 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005673, allocations: 0 / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005674, allocations: 4.031 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.371e-05/0.005748, allocations: 235.4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.005757, allocations: 19.91 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.005768, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.0058, allocations: 7.984 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.005821, allocations: 0 / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.005825, allocations: 7.938 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.005872, allocations: 184.1 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.006028, allocations: 27.92 kB / 386.6 MB, free: 15.81 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008564/0.006885, allocations: 426.6 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006985, allocations: 43.59 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.006986, allocations: 0 / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.007009, allocations: 27.61 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.007212, allocations: 32.16 kB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.007497, allocations: 261.2 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.007525, allocations: 79.19 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.007556, allocations: 8.734 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.0076, allocations: 82.19 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0076, allocations: 0 / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of Templates: time 0.00267/0.01027, allocations: 1.579 MB / 389.2 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.5242326771840453]