Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0008712/0.0008712, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.000916/0.000916, allocations: 162.2 kB / 24.92 MB, free: 8.77 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.998/0.998, allocations: 177 MB / 205.2 MB, free: 5.438 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.2802/0.2802, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test25_usertab,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.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,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.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.696e-05, allocations: 4.984 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003229/0.003246, allocations: 1.69 MB / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.00448, allocations: 0.5486 MB / 328.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.004574, allocations: 0 / 328.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.00488, allocations: 27.78 kB / 328.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.005237, allocations: 67.64 kB / 328.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.005687, allocations: 99.56 kB / 328.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.005901, allocations: 72.58 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.006024, allocations: 15.92 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.283e-05/0.006117, allocations: 39.91 kB / 328.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.006217, allocations: 27.89 kB / 328.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.006239, allocations: 4 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.006481, allocations: 99.81 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.006537, allocations: 15.92 kB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.006573, allocations: 19.92 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.006854, allocations: 147.4 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.006859, allocations: 0 / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.006861, allocations: 0 / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006866, allocations: 0 / 328.8 MB, free: 4.215 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004411/0.007307, allocations: 305.7 kB / 329.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.007347, allocations: 8.031 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.007391, allocations: 12.92 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.007596, allocations: 137.6 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.007609, allocations: 8.375 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.00763, allocations: 384 / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.007786, allocations: 102.3 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.007795, allocations: 192 / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.007804, allocations: 384 / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007809, allocations: 384 / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.007844, allocations: 23.86 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.008164, allocations: 175.1 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/0.00824, allocations: 37.38 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.008263, allocations: 12.98 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.008286, allocations: 4 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.008311, allocations: 30.56 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.008312, allocations: 0 / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004261/0.008739, allocations: 121.4 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.008782, allocations: 77.11 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.008931, allocations: 160.5 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.008946, allocations: 25.7 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.008995, allocations: 96.08 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.009024, allocations: 23.78 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.009067, allocations: 21.7 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.00918, allocations: 322.8 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.009207, allocations: 11.2 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.009254, allocations: 50.22 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.009318, allocations: 34.48 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009321, allocations: 4 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001091/0.00943, allocations: 68.44 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009445, allocations: 8.031 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.009453, allocations: 3.938 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.009467, allocations: 0 / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.009568, allocations: 19.98 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.009572, allocations: 0 / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.009606, allocations: 7.938 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.009614, allocations: 0 / 330.7 MB, free: 2.148 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 (9): * Single equations (assignments): 9 * 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 8.283e-05/0.009697, allocations: 116.7 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.009727, allocations: 7.984 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.009878, allocations: 78.34 kB / 330.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.009881, allocations: 0 / 330.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009883, allocations: 0 / 330.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.009888, allocations: 3.984 kB / 330.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.01022, allocations: 278.8 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01023, allocations: 3.938 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.0103, allocations: 19.92 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01031, allocations: 3.938 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01032, allocations: 4 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01032, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01032, allocations: 4.078 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.01044, allocations: 155.5 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01046, allocations: 11.89 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01047, allocations: 4 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.01054, allocations: 4 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.01057, allocations: 7.984 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01057, allocations: 0 / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.01062, allocations: 35.66 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01062, allocations: 0 / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.0109, allocations: 43.86 kB / 331.5 MB, free: 1.32 MB / 298.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 (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.002004/0.01291, allocations: 0.631 MB / 332.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01302, allocations: 32.78 kB / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01303, allocations: 4 kB / 332.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.01307, allocations: 28.77 kB / 332.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01329, allocations: 23.94 kB / 332.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.01363, allocations: 183.1 kB / 332.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.01367, allocations: 63.34 kB / 332.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.01371, allocations: 12.66 kB / 332.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.01378, allocations: 67.36 kB / 332.5 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01378, allocations: 4 kB / 332.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of Templates: time 0.003705/0.01749, allocations: 2.242 MB / 334.8 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.9642571550793946]