Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.00133/0.00133, 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.001103/0.001103, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9196/0.9196, allocations: 177 MB / 205.2 MB, free: 5.074 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.2552/0.2552, allocations: 34.86 MB / 296.6 MB, free: 476 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.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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.394e-05, allocations: 5.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001911/0.001925, allocations: 1.651 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006913/0.002616, allocations: 0.5525 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.002662, allocations: 3.938 kB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.002904, allocations: 119.6 kB / 328.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.003155, allocations: 135.4 kB / 328.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.003385, allocations: 115.6 kB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.003527, allocations: 111.7 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.003606, allocations: 8 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.00368, allocations: 59.86 kB / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.003777, allocations: 71.84 kB / 328.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.00379, allocations: 4 kB / 328.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.003868, allocations: 43.92 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.00391, allocations: 27.86 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.003932, allocations: 19.92 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004061, allocations: 103.5 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004062, allocations: 4 kB / 329 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004063, allocations: 0 / 329 MB, free: 4.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.004066, allocations: 0 / 329 MB, free: 4.137 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.0002793/0.004345, allocations: 338.1 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.004372, allocations: 8.031 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.004399, allocations: 12.92 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004513, allocations: 149.6 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.004519, allocations: 384 / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.004535, allocations: 8.312 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.532e-05/0.004611, allocations: 58.94 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004618, allocations: 4.188 kB / 329.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.004623, allocations: 384 / 329.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004627, allocations: 384 / 329.5 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.004649, allocations: 11.94 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.004835, allocations: 175.1 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/0.004883, allocations: 45.38 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.004896, allocations: 12.86 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.004907, allocations: 3.938 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.004923, allocations: 30.56 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004923, allocations: 0 / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003367/0.00526, allocations: 153.5 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.005287, allocations: 55.41 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.0054, allocations: 209.2 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.00541, allocations: 33.64 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.005441, allocations: 96.09 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.005462, allocations: 31.73 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.005488, allocations: 21.72 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.005561, allocations: 326.8 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.005573, allocations: 8 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.005586, allocations: 11.97 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.005617, allocations: 27.67 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005618, allocations: 0 / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.79e-05/0.005676, allocations: 65.83 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.005685, allocations: 5.094 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.005688, allocations: 0 / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-06/0.005696, allocations: 0 / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.005752, allocations: 19.92 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005755, allocations: 4 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.005773, allocations: 4 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.005778, allocations: 4 kB / 330.8 MB, free: 2.074 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 5.157e-05/0.005829, allocations: 112.7 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.005849, allocations: 19.92 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.199e-05/0.005941, allocations: 79.05 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005942, allocations: 0 / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.005944, allocations: 4 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005946, allocations: 0 / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.006163, allocations: 263.4 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006164, allocations: 0 / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.006195, allocations: 23.95 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006197, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.006201, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006202, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006203, allocations: 4 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/0.006281, allocations: 164.3 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.006294, allocations: 19.88 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006304, allocations: 4 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.006337, allocations: 4 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.006354, allocations: 7.984 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.006357, allocations: 4 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.006407, allocations: 68.62 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006407, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.006538, allocations: 23.98 kB / 331.6 MB, free: 1.219 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.001071/0.007609, allocations: 0.5661 MB / 332.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.007693, allocations: 36.77 kB / 332.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.007697, allocations: 4 kB / 332.2 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.007718, allocations: 20.8 kB / 332.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.007852, allocations: 23.92 kB / 332.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.008142, allocations: 253.3 kB / 332.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.008181, allocations: 75.33 kB / 332.6 MB, free: 488 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.956e-05/0.008211, allocations: 13.03 kB / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.008263, allocations: 63.36 kB / 332.7 MB, free: 408 kB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008264, allocations: 0 / 332.7 MB, free: 408 kB / 298.7 MB Notification: Performance of Templates: time 0.00265/0.01091, allocations: 1.534 MB / 334.2 MB, free: 14.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.843741300981492]