Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0009692/0.0009692, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009725/0.0009725, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9688/0.9688, allocations: 177 MB / 204.8 MB, free: 5.59 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.2643/0.2643, allocations: 34.87 MB / 296.3 MB, free: 468 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 3.938 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.675e-05, allocations: 4.844 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002462/0.002489, allocations: 1.7 MB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008342/0.003323, allocations: 0.5563 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.003386, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.003881, allocations: 451 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.004337, allocations: 307.1 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.004872, allocations: 123.6 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.00524, allocations: 175.6 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.005335, allocations: 11.98 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005459, allocations: 123.8 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.005652, allocations: 247.6 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005671, allocations: 4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.005778, allocations: 47.92 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.005903, allocations: 83.66 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.005946, allocations: 47.72 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006189, allocations: 207.1 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006192, allocations: 4 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006193, allocations: 0 / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.006198, allocations: 0 / 382.9 MB, free: 13.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006312/0.00683, allocations: 0.7009 MB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006868, allocations: 8.031 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.006934, allocations: 44.66 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.007143, allocations: 260.8 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.007154, allocations: 4.375 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.007176, allocations: 4.375 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.0073, allocations: 58.95 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.007311, allocations: 8.172 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.007322, allocations: 12.36 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007331, allocations: 384 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.007365, allocations: 15.88 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.007793, allocations: 431.6 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.007866, allocations: 43.08 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.007889, allocations: 11.78 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.007909, allocations: 11.92 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.00793, allocations: 37.39 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.007931, allocations: 0 / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005817/0.008513, allocations: 252.7 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.008554, allocations: 51.41 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.009117, allocations: 0.6238 MB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.009132, allocations: 33.7 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.009267, allocations: 290.7 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.009293, allocations: 23.75 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.009331, allocations: 35.36 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.009488, allocations: 0.5508 MB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.009522, allocations: 15.92 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.00954, allocations: 8 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.767e-05/0.009598, allocations: 35.69 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0096, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001364/0.009736, allocations: 105.4 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.009752, allocations: 7.984 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009758, allocations: 3.938 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009772, allocations: 0 / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.009857, allocations: 15.94 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.009864, allocations: 4 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.009904, allocations: 7.984 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.009913, allocations: 8 kB / 386.5 MB, free: 10.05 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 (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 8.709e-05/0.01, allocations: 156.5 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.01004, allocations: 47.72 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.01023, allocations: 121.8 kB / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01023, allocations: 0 / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01024, allocations: 0 / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01024, allocations: 0 / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.01068, allocations: 0.5047 MB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01068, allocations: 8.031 kB / 387.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.01073, allocations: 16 kB / 387.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01073, allocations: 4 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01075, allocations: 4 kB / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01075, allocations: 0 / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01075, allocations: 3.984 kB / 387.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.01093, allocations: 267.2 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.01095, allocations: 32.14 kB / 387.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01097, allocations: 8 kB / 387.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.01102, allocations: 0 / 387.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.01106, allocations: 11.92 kB / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01106, allocations: 8 kB / 387.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.01132, allocations: 430.8 kB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01132, allocations: 0 / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01151, allocations: 23.94 kB / 388.2 MB, free: 8.336 MB / 362.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.001075/0.01258, allocations: 429.7 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01271, allocations: 43.59 kB / 388.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01271, allocations: 0 / 388.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.01274, allocations: 27.73 kB / 388.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01302, allocations: 38.25 kB / 388.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01405, allocations: 0.6055 MB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.542e-05/0.01413, allocations: 123.2 kB / 389.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.01417, allocations: 12.72 kB / 389.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.0142, allocations: 12.5 kB / 389.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0142, allocations: 4 kB / 389.4 MB, free: 7.117 MB / 362.7 MB Notification: Performance of Templates: time 0.004654/0.01886, allocations: 1.718 MB / 391.2 MB, free: 5.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.093968705739826]