Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0009403/0.0009403, 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.001/0.001, allocations: 161.7 kB / 24.91 MB, free: 8.68 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.9162/0.9162, allocations: 177 MB / 205.2 MB, free: 5.461 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.2456/0.2456, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.258e-05, allocations: 3.016 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001946/0.001959, allocations: 1.703 MB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003181, allocations: 1.32 MB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.003231, allocations: 4 kB / 329 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.003413, allocations: 23.84 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.003676, allocations: 87.55 kB / 329.1 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.004254, allocations: 179.4 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.00438, allocations: 80.45 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.004455, allocations: 15.97 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.004512, allocations: 39.91 kB / 329.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.004598, allocations: 27.89 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.004611, allocations: 12 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.004735, allocations: 91.88 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.004781, allocations: 15.92 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.004805, allocations: 23.92 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.004989, allocations: 139.5 kB / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.00499, allocations: 0 / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004991, allocations: 0 / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004994, allocations: 0 / 329.7 MB, free: 3.41 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.0003141/0.005308, allocations: 313.6 kB / 330 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.005338, allocations: 8.031 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.005366, allocations: 12.88 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.005484, allocations: 133.6 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.005491, allocations: 4.375 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.00551, allocations: 8.359 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.005617, allocations: 102.3 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005624, allocations: 192 / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.00563, allocations: 384 / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005635, allocations: 384 / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.005659, allocations: 15.88 kB / 330.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.005864, allocations: 175.1 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.005916, allocations: 38.56 kB / 330.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.005933, allocations: 16.94 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.005947, allocations: 0 / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005967, allocations: 34.5 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005968, allocations: 0 / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.006263, allocations: 117.5 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006294, allocations: 77.11 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.006379, allocations: 146.6 kB / 330.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.00639, allocations: 29.7 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.006422, allocations: 96.06 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.006442, allocations: 23.8 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.00647, allocations: 21.69 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.006539, allocations: 326.8 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.006553, allocations: 4 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.006585, allocations: 43.42 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.006622, allocations: 35.64 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006622, allocations: 0 / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.995e-05/0.006682, allocations: 53.62 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006694, allocations: 8.562 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006698, allocations: 4.031 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.00671, allocations: 4 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.006772, allocations: 15.98 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.006774, allocations: 320 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.006799, allocations: 7.984 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.006803, allocations: 0 / 331.5 MB, free: 1.379 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 (7): * Single equations (assignments): 7 * 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.246e-05/0.006856, allocations: 116.7 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.006874, allocations: 7.938 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.006968, allocations: 74.36 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.006976, allocations: 8 kB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006978, allocations: 0 / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006981, allocations: 0 / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.007173, allocations: 226.8 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007175, allocations: 0 / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.007211, allocations: 23.86 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007212, allocations: 0 / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.007216, allocations: 4 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007217, allocations: 0 / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.007218, allocations: 0 / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.5e-05/0.007293, allocations: 147.5 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.007302, allocations: 15.89 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007314, allocations: 7.938 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.007351, allocations: 7.984 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.007373, allocations: 4 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.007376, allocations: 0 / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3e-05/0.007406, allocations: 43.72 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007407, allocations: 0 / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.00757, allocations: 39.88 kB / 332.2 MB, free: 0.6055 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 (7): * Single equations (assignments): 7 * 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.001236/0.008806, allocations: 0.6124 MB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.008894, allocations: 36.83 kB / 332.9 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.008898, allocations: 0 / 332.9 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.008927, allocations: 24.78 kB / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.009065, allocations: 27.56 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.009353, allocations: 194.8 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.009393, allocations: 67.33 kB / 333.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.009436, allocations: 17.03 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.009506, allocations: 71.36 kB / 333.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.009507, allocations: 3.938 kB / 333.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003401/0.01291, allocations: 2.147 MB / 335.4 MB, free: 13.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.8571111247874796]