Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001142/0.001142, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001288/0.001288, allocations: 159.9 kB / 25.61 MB, free: 8.574 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.109/1.109, allocations: 177 MB / 205.9 MB, free: 4.461 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.1715/0.1715, 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.618e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002155/0.002181, allocations: 1.669 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.002841, allocations: 0.5485 MB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.002901, allocations: 8 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.003144, allocations: 95.61 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.003394, allocations: 115.5 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.00364, allocations: 111.7 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.00378, allocations: 111.7 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.003874, allocations: 19.98 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.003936, allocations: 51.88 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.004022, allocations: 59.86 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.004036, allocations: 8 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.004108, allocations: 43.92 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.004151, allocations: 35.84 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.004175, allocations: 19.92 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004306, allocations: 111.5 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004308, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004309, allocations: 4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.004314, allocations: 0 / 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003153/0.004629, allocations: 467.7 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.00466, allocations: 12.03 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.004696, allocations: 24.81 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.004803, allocations: 156.3 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.004812, allocations: 384 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.00483, allocations: 4.375 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.069e-05/0.004921, allocations: 78.92 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.004931, allocations: 192 / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004937, allocations: 384 / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004943, allocations: 8.375 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.00497, allocations: 19.86 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.005207, allocations: 304.2 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.51e-05/0.005262, allocations: 51.03 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.005277, allocations: 15.69 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.005294, allocations: 11.92 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.005308, allocations: 37.33 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.005309, allocations: 0 / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004681/0.005777, allocations: 213.5 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.005798, allocations: 63.39 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.005888, allocations: 244.1 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.005895, allocations: 33.64 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.00593, allocations: 158.8 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.005955, allocations: 51.52 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.005985, allocations: 31.36 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.006032, allocations: 0.5078 MB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.00605, allocations: 11.98 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.006069, allocations: 22.86 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.006121, allocations: 39.69 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006122, allocations: 3.984 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001/0.006222, allocations: 93.59 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.006235, allocations: 9.719 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00624, allocations: 0 / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006251, allocations: 0 / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.006325, allocations: 27.92 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.006329, allocations: 4 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.006354, allocations: 4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.006361, allocations: 11.98 kB / 385.7 MB, free: 16.83 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 (13): * Single equations (assignments): 13 * 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 5.548e-05/0.006417, allocations: 168.5 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.006443, allocations: 19.84 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.006598, allocations: 126.9 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0066, allocations: 0 / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006601, allocations: 0 / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006604, allocations: 0 / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.006885, allocations: 397.5 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006887, allocations: 0 / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.00694, allocations: 31.95 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.006944, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.006951, allocations: 4 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006953, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.006956, allocations: 4 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.00707, allocations: 251.5 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007081, allocations: 11.91 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007094, allocations: 4 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.007129, allocations: 7.984 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.007158, allocations: 23.84 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.007163, allocations: 0 / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.007214, allocations: 181.6 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007215, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.007401, allocations: 39.86 kB / 387 MB, free: 15.51 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 (13): * Single equations (assignments): 13 * 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.0009429/0.008344, allocations: 423.6 kB / 387.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.008458, allocations: 59.59 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00846, allocations: 0 / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-05/0.008492, allocations: 39.61 kB / 387.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.008715, allocations: 24.05 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.009044, allocations: 278.5 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.009077, allocations: 79.17 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.009119, allocations: 16.48 kB / 387.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.009173, allocations: 94.12 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009174, allocations: 0 / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of Templates: time 0.003725/0.0129, allocations: 1.802 MB / 389.7 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.5518164839595556]