Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0008868/0.0008868, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.0008918/0.0008918, allocations: 161.9 kB / 24.91 MB, free: 8.719 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.8985/0.8985, allocations: 177 MB / 205.2 MB, free: 4.43 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.141/0.141, allocations: 34.88 MB / 296.6 MB, free: 13.38 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.CombiTable1Ds.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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 4 kB / 325.9 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/2.097e-05, allocations: 9.484 kB / 325.9 MB, free: 32 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002011/0.002032, allocations: 1.646 MB / 327.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.002694, allocations: 0.5408 MB / 328.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.00274, allocations: 0 / 328.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.002986, allocations: 123.6 kB / 328.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.003224, allocations: 135.4 kB / 328.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.003418, allocations: 99.62 kB / 328.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.003549, allocations: 95.8 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.003617, allocations: 11.98 kB / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.003684, allocations: 59.75 kB / 328.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.003778, allocations: 75.84 kB / 328.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.003789, allocations: 4 kB / 328.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.003859, allocations: 47.91 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.0039, allocations: 27.92 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.003923, allocations: 15.86 kB / 328.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.004049, allocations: 103.7 kB / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.00405, allocations: 0 / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004051, allocations: 0 / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004054, allocations: 4 kB / 328.9 MB, free: 13.04 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.0002832/0.004337, allocations: 343.9 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004368, allocations: 8.031 kB / 329.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.004394, allocations: 12.92 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.004507, allocations: 149.5 kB / 329.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.004514, allocations: 4.375 kB / 329.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.004529, allocations: 4.375 kB / 329.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.199e-05/0.004601, allocations: 54.94 kB / 329.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004608, allocations: 4.188 kB / 329.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.004614, allocations: 4.375 kB / 329.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.004617, allocations: 4.375 kB / 329.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.004637, allocations: 11.88 kB / 329.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.004816, allocations: 179.1 kB / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.004858, allocations: 30.56 kB / 329.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.00487, allocations: 8.859 kB / 329.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.004883, allocations: 0 / 329.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.0049, allocations: 34.5 kB / 329.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004901, allocations: 0 / 329.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003536/0.005254, allocations: 153.5 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.005281, allocations: 51.41 kB / 329.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.00541, allocations: 213.2 kB / 330.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005421, allocations: 29.7 kB / 330.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.005455, allocations: 104 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.005476, allocations: 23.78 kB / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.005504, allocations: 21.7 kB / 330.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.005581, allocations: 326.8 kB / 330.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.005593, allocations: 12 kB / 330.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.005605, allocations: 7.984 kB / 330.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.005638, allocations: 36.7 kB / 330.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.005639, allocations: 0 / 330.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.762e-05/0.005697, allocations: 65.61 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.005706, allocations: 4 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.005709, allocations: 0 / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.005718, allocations: 0 / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.00577, allocations: 12 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.005774, allocations: 3.984 kB / 330.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.005792, allocations: 8 kB / 330.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005797, allocations: 0 / 330.8 MB, free: 10.98 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 5.872e-05/0.005855, allocations: 120.6 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.005873, allocations: 11.92 kB / 330.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.005963, allocations: 75.09 kB / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005965, allocations: 0 / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.005966, allocations: 0 / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005969, allocations: 4.406 kB / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.006175, allocations: 251.5 kB / 331.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006176, allocations: 0 / 331.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.006206, allocations: 20.02 kB / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006209, allocations: 4 kB / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.006213, allocations: 0 / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006214, allocations: 3.938 kB / 331.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.006217, allocations: 8.453 kB / 331.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.34e-05/0.0063, allocations: 172.3 kB / 331.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.006312, allocations: 11.91 kB / 331.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006322, allocations: 0 / 331.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.006357, allocations: 7.984 kB / 331.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.006373, allocations: 4 kB / 331.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.006377, allocations: 8 kB / 331.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.00643, allocations: 72.59 kB / 331.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00643, allocations: 0 / 331.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000134/0.006564, allocations: 23.94 kB / 331.6 MB, free: 10.13 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.001091/0.007654, allocations: 0.5546 MB / 332.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.271e-05/0.007727, allocations: 32.84 kB / 332.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.007731, allocations: 0 / 332.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.007753, allocations: 24.78 kB / 332.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.0079, allocations: 27.86 kB / 332.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.008194, allocations: 252.4 kB / 332.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.008232, allocations: 71.33 kB / 332.5 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.218e-05/0.008264, allocations: 17.02 kB / 332.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.008314, allocations: 63.38 kB / 332.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.008314, allocations: 0 / 332.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of Templates: time 0.00277/0.01108, allocations: 1.5 MB / 334.1 MB, free: 7.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.9226980172097683]