Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001048/0.001048, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001003/0.001003, allocations: 170 kB / 24.82 MB, free: 9.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 1.054/1.054, allocations: 177 MB / 205.1 MB, free: 5.484 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.2353/0.2353, allocations: 34.87 MB / 296.6 MB, free: 452 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.243e-05, allocations: 2.312 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003183/0.003205, allocations: 1.69 MB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.005058, allocations: 1.293 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.00515, allocations: 3.828 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.005399, allocations: 27.73 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.005833, allocations: 87.55 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.006186, allocations: 127.6 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.006347, allocations: 71.83 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00645, allocations: 19.94 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.006537, allocations: 39.89 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.006658, allocations: 31.89 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.006678, allocations: 4 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.006866, allocations: 95.75 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.006932, allocations: 15.94 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.006958, allocations: 15.98 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.00722, allocations: 143.5 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.007223, allocations: 0 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007224, allocations: 0 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.007229, allocations: 0 / 382.9 MB, free: 14.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004849/0.007714, allocations: 432 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.007759, allocations: 12.03 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.007804, allocations: 16.88 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.007972, allocations: 142.8 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.007983, allocations: 4.375 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.008003, allocations: 384 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.008175, allocations: 115.9 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.008185, allocations: 192 / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.008194, allocations: 384 / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.0082, allocations: 384 / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.008234, allocations: 19.92 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.008526, allocations: 256.5 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/0.008612, allocations: 46.98 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.008631, allocations: 7.688 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.008657, allocations: 4 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.008688, allocations: 33.39 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.008689, allocations: 0 / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000414/0.009103, allocations: 121.5 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.009152, allocations: 85.11 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.009288, allocations: 185.9 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.0093, allocations: 29.7 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.009364, allocations: 150.8 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.009388, allocations: 15.81 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.009432, allocations: 31.36 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.0096, allocations: 496.1 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.009624, allocations: 11.98 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.009673, allocations: 57 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.009726, allocations: 27.67 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009727, allocations: 0 / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.009842, allocations: 73.59 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.009859, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.009865, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.009881, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.009991, allocations: 27.92 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.009994, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.01003, allocations: 8 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.01004, allocations: 320 / 385.3 MB, free: 11.53 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 (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 8.553e-05/0.01012, allocations: 164.5 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.01016, allocations: 15.89 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.01031, allocations: 82.38 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01031, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01032, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01032, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.01063, allocations: 314 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01064, allocations: 3.938 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.0107, allocations: 15.98 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01071, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01071, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01072, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01072, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01089, allocations: 219.8 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.0109, allocations: 11.89 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01092, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.01098, allocations: 4 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.01101, allocations: 3.984 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01102, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.758e-05/0.01112, allocations: 153.3 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01112, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000305/0.01142, allocations: 39.86 kB / 386.3 MB, free: 10.44 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 (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.001266/0.01269, allocations: 479.6 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01282, allocations: 43.59 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01282, allocations: 0 / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.01286, allocations: 23.67 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01316, allocations: 30.89 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.01356, allocations: 198.3 kB / 387 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.01361, allocations: 67.28 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01367, allocations: 16.28 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01378, allocations: 90.19 kB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01378, allocations: 0 / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005269/0.01905, allocations: 2.18 MB / 389.4 MB, free: 7.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.034687891136855]