Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0009319/0.0009319, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.0009664/0.0009664, allocations: 163.1 kB / 24.82 MB, free: 9.266 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.9736/0.9736, allocations: 177 MB / 205.1 MB, free: 5.465 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.243/0.243, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.CombiTable1Ds.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.296e-05, allocations: 2.312 kB / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001948/0.001961, allocations: 1.645 MB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.002594, allocations: 0.5291 MB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.002637, allocations: 0 / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.002852, allocations: 95.67 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.003061, allocations: 115.5 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.003239, allocations: 95.62 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003364, allocations: 87.73 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.003442, allocations: 11.94 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.003503, allocations: 47.88 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.003583, allocations: 55.88 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.003596, allocations: 4 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.003669, allocations: 47.91 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.003704, allocations: 23.88 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.003725, allocations: 15.92 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.003848, allocations: 91.66 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003849, allocations: 0 / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.003851, allocations: 4 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.003854, allocations: 0 / 382.1 MB, free: 14.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003191/0.004173, allocations: 451.8 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.004209, allocations: 12.03 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.004239, allocations: 8.891 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.004361, allocations: 160.3 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.004368, allocations: 384 / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.004384, allocations: 8.375 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.004462, allocations: 54.95 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.004469, allocations: 192 / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.004474, allocations: 384 / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004479, allocations: 384 / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.004501, allocations: 15.92 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.004713, allocations: 268.3 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.004762, allocations: 46.97 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.004778, allocations: 15.69 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.004796, allocations: 0 / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.004813, allocations: 41.39 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004814, allocations: 0 / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003623/0.005176, allocations: 153.4 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.005199, allocations: 55.41 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.005315, allocations: 245.8 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.005324, allocations: 25.7 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.005378, allocations: 158.8 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.005402, allocations: 31.73 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.005428, allocations: 23.38 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005549, allocations: 0.5079 MB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.005562, allocations: 4 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.005575, allocations: 8 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.005609, allocations: 31.66 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005609, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.259e-05/0.005682, allocations: 77.7 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.005693, allocations: 8 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005697, allocations: 0 / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.005706, allocations: 0 / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.005762, allocations: 19.98 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005766, allocations: 8.062 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.005783, allocations: 4 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.005787, allocations: 432 / 384.5 MB, free: 12.29 MB / 362.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 6.266e-05/0.00585, allocations: 160.6 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.00587, allocations: 15.89 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.005973, allocations: 95.05 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.005975, allocations: 3.984 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005977, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005979, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.006217, allocations: 353.5 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006218, allocations: 0 / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.006251, allocations: 16 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006253, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.006258, allocations: 7.984 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006259, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.00626, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.006359, allocations: 235.4 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006369, allocations: 7.953 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.006379, allocations: 4 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.006412, allocations: 7.984 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.006431, allocations: 8.031 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.006434, allocations: 0 / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.006499, allocations: 175.1 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006499, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.006649, allocations: 23.94 kB / 385.6 MB, free: 11.12 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: 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.0007687/0.007418, allocations: 432.6 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.007494, allocations: 39.64 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007495, allocations: 0 / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.007519, allocations: 31.61 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.007713, allocations: 31.88 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.007993, allocations: 241.8 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.00803, allocations: 67.34 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.008059, allocations: 8.719 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.008112, allocations: 78.2 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008112, allocations: 8.062 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.002708/0.01082, allocations: 1.516 MB / 388 MB, free: 8.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.8892305227927864]