Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009652/0.0009652, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009739/0.0009739, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9532/0.9532, allocations: 177 MB / 204.8 MB, free: 5.582 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.2639/0.2639, allocations: 34.86 MB / 296.3 MB, free: 484 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.575e-05, allocations: 4.984 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.005586/0.005612, allocations: 1.63 MB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.007144, allocations: 1.289 MB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.007207, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.01044, allocations: 23.8 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.01073, allocations: 87.55 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.011, allocations: 119.5 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.01113, allocations: 67.78 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.01121, allocations: 19.83 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.01127, allocations: 31.86 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.01136, allocations: 31.89 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.01138, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.01152, allocations: 83.89 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.01157, allocations: 15.92 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.01159, allocations: 15.94 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.01181, allocations: 139.5 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01181, allocations: 0 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01181, allocations: 0 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.01181, allocations: 0 / 382.3 MB, free: 14.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003822/0.0122, allocations: 432 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.01223, allocations: 8.031 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.01227, allocations: 8.891 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.01241, allocations: 136.5 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.01242, allocations: 384 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.01244, allocations: 4.375 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.01257, allocations: 116 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01258, allocations: 192 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.01259, allocations: 384 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.01259, allocations: 384 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.01262, allocations: 11.92 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.0129, allocations: 275.8 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.01304, allocations: 42.98 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.01306, allocations: 15.69 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.01308, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.0131, allocations: 37.39 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.0131, allocations: 4 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.003354/0.01646, allocations: 113.5 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.01649, allocations: 77.11 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01662, allocations: 193.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.01663, allocations: 25.7 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.01669, allocations: 150.8 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.01671, allocations: 15.86 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.01675, allocations: 27.36 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01687, allocations: 496.1 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.01689, allocations: 8 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.01693, allocations: 57.06 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.01697, allocations: 23.62 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01697, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.028e-05/0.01706, allocations: 61.62 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01707, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.01708, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01709, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.01714, allocations: 12.23 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01715, allocations: 3.938 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.01718, allocations: 15.89 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01718, allocations: 4.031 kB / 384.7 MB, free: 11.91 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 (5): * Single equations (assignments): 5 * 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 7.341e-05/0.01726, allocations: 164.5 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01729, allocations: 11.89 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.0174, allocations: 62.14 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01741, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01741, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01741, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.01768, allocations: 321.3 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01768, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.01772, allocations: 15.98 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01772, allocations: 8 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01773, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01773, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01773, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.01785, allocations: 207.8 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.01786, allocations: 11.89 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01787, allocations: 3.984 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.01793, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.01795, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.01796, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.01803, allocations: 153.5 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01803, allocations: 4 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.01831, allocations: 39.86 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.004066/0.02237, allocations: 477.9 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.02248, allocations: 35.67 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02248, allocations: 0 / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.02251, allocations: 27.61 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.02277, allocations: 23.92 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.0231, allocations: 169.9 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.02314, allocations: 63.34 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.829e-05/0.02319, allocations: 11.98 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.02323, allocations: 24.48 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02323, allocations: 0 / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006575/0.0298, allocations: 1.842 MB / 388.3 MB, free: 8.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.3838672400452197]