Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001335/0.001335, allocations: 84.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.001634/0.001634, allocations: 167.8 kB / 24.91 MB, free: 8.211 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.9924/0.9924, allocations: 177 MB / 205.2 MB, free: 5.477 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.2559/0.2559, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.CombiTable1Ds.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.125e-05, allocations: 3.297 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002216/0.002237, allocations: 1.651 MB / 327.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.00294, allocations: 0.5408 MB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.002989, allocations: 4 kB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.003218, allocations: 71.7 kB / 328.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.003474, allocations: 107.5 kB / 328.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.003672, allocations: 95.58 kB / 328.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.003826, allocations: 84.5 kB / 328.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.003916, allocations: 19.97 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.003979, allocations: 35.91 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.004066, allocations: 55.88 kB / 328.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.004078, allocations: 3.938 kB / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.004148, allocations: 43.92 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.004191, allocations: 27.91 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.004213, allocations: 11.94 kB / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.004352, allocations: 91.66 kB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004354, allocations: 0 / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004355, allocations: 0 / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004358, allocations: 0 / 328.8 MB, free: 4.312 MB / 298.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.0003109/0.004669, allocations: 317.6 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.004699, allocations: 15.97 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.004725, allocations: 4.938 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.004846, allocations: 146.3 kB / 329.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.004859, allocations: 4.375 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.004878, allocations: 4.375 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.004965, allocations: 54.94 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004973, allocations: 192 / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.00498, allocations: 8.359 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004984, allocations: 384 / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.005005, allocations: 11.88 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.005202, allocations: 183 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.00525, allocations: 30.56 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.005265, allocations: 8.859 kB / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.00528, allocations: 4 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.005298, allocations: 30.56 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005299, allocations: 0 / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004009/0.0057, allocations: 149.5 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.005727, allocations: 51.41 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.005846, allocations: 185.8 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005856, allocations: 25.7 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.005886, allocations: 100 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.005909, allocations: 27.8 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.005939, allocations: 21.72 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.006019, allocations: 322.8 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.006034, allocations: 11.98 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.006045, allocations: 4 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.00608, allocations: 28.83 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006081, allocations: 0 / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.853e-05/0.006149, allocations: 69.77 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006161, allocations: 8 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006166, allocations: 0 / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.006176, allocations: 0 / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.006241, allocations: 15.98 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.006243, allocations: 0 / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.006264, allocations: 11.94 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006269, allocations: 0 / 330.6 MB, free: 2.328 MB / 298.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 0.0002056/0.006474, allocations: 112.7 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.006495, allocations: 19.86 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.006598, allocations: 71.14 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.006602, allocations: 8 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006603, allocations: 3.938 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006607, allocations: 3.984 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.006833, allocations: 247.5 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006835, allocations: 0 / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.006874, allocations: 12 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006876, allocations: 0 / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.006883, allocations: 7.984 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006885, allocations: 0 / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.006887, allocations: 7.969 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.006972, allocations: 160.3 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.006982, allocations: 12.33 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.006994, allocations: 8 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.007028, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.007051, allocations: 7.984 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.007054, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.007099, allocations: 52.14 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007099, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.007237, allocations: 20 kB / 331.3 MB, free: 1.52 MB / 298.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.001223/0.00846, allocations: 0.5707 MB / 331.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.008532, allocations: 28.84 kB / 331.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.008536, allocations: 0 / 331.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.008559, allocations: 28.78 kB / 332 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.008726, allocations: 30.42 kB / 332 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.009021, allocations: 220 kB / 332.2 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.00906, allocations: 67.34 kB / 332.3 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.009094, allocations: 13.03 kB / 332.3 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.009146, allocations: 59.38 kB / 332.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009147, allocations: 4.062 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of Templates: time 0.003128/0.01228, allocations: 1.489 MB / 333.8 MB, free: 15.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.8951721908524632]