Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001056/0.001056, allocations: 84.86 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.001098/0.001098, allocations: 165.3 kB / 24.91 MB, free: 8.254 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.9959/0.9959, 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.2524/0.2524, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.113e-05, allocations: 5.453 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002219/0.00224, allocations: 1.714 MB / 327.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.003006, allocations: 0.5796 MB / 328.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.003061, allocations: 3.938 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.003513, allocations: 455.1 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.003868, allocations: 299.1 kB / 329 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.00416, allocations: 171.5 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.004333, allocations: 175.7 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.004417, allocations: 28.12 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.004514, allocations: 111.8 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.004674, allocations: 207.6 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004689, allocations: 4 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.00477, allocations: 55.84 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.004848, allocations: 83.72 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.004883, allocations: 39.73 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.005083, allocations: 215.1 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005085, allocations: 0 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005086, allocations: 4 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.005089, allocations: 0 / 330 MB, free: 3.027 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004132/0.005503, allocations: 0.5579 MB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.005532, allocations: 8.031 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.005571, allocations: 28.91 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005738, allocations: 246 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.005745, allocations: 4.375 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.005766, allocations: 4.375 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.005854, allocations: 62.88 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005862, allocations: 4.188 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.005868, allocations: 4.375 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005872, allocations: 384 / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.005894, allocations: 15.88 kB / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.006133, allocations: 215 kB / 331.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.00618, allocations: 37.38 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.006194, allocations: 4.859 kB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006207, allocations: 4 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.006225, allocations: 30.66 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.006226, allocations: 0 / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000399/0.006625, allocations: 169.4 kB / 331.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006652, allocations: 55.34 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.006949, allocations: 0.5283 MB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.00696, allocations: 25.7 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.007016, allocations: 145.3 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.007039, allocations: 27.78 kB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.007068, allocations: 21.7 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.007158, allocations: 358.7 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.00717, allocations: 4 kB / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.007184, allocations: 11.98 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.00722, allocations: 27.67 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007223, allocations: 7.984 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.268e-05/0.007295, allocations: 73.55 kB / 332.7 MB, free: 204 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007306, allocations: 7.984 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007311, allocations: 0 / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.007319, allocations: 0 / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.007376, allocations: 12 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.007378, allocations: 0 / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.007405, allocations: 15.94 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.00741, allocations: 320 / 332.7 MB, free: 168 kB / 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 6.758e-05/0.007478, allocations: 116.7 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.007505, allocations: 31.91 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.007641, allocations: 109.4 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007644, allocations: 0 / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.007645, allocations: 0 / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007647, allocations: 0 / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.007906, allocations: 311.3 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.007909, allocations: 4 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.007951, allocations: 19.97 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.007955, allocations: 3.984 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007961, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007963, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007964, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.008065, allocations: 180.2 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.008088, allocations: 35.72 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008101, allocations: 0 / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.008142, allocations: 7.984 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.008165, allocations: 0 / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.00817, allocations: 4 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.008346, allocations: 291.2 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008346, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.008497, allocations: 28 kB / 333.8 MB, free: 14.98 MB / 314.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.001132/0.009628, allocations: 0.5678 MB / 334.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.154e-05/0.0097, allocations: 40.7 kB / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.009706, allocations: 4 kB / 334.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.009731, allocations: 28.77 kB / 334.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.009919, allocations: 25.95 kB / 334.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.01047, allocations: 0.6021 MB / 335.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.073e-05/0.01054, allocations: 127.2 kB / 335.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.01058, allocations: 12.73 kB / 335.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.01063, allocations: 63.36 kB / 335.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01063, allocations: 0 / 335.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003901/0.01453, allocations: 1.757 MB / 337.1 MB, free: 12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.8904632991179824]