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.002011/0.002011, allocations: 83.47 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002068/0.002068, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.533/1.533, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2147/0.2147, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 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.1.|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.1.|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.753e-06/1.753e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.304e-05, allocations: 12.89 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00314/0.003173, allocations: 1.674 MB / 444.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004357, allocations: 0.5642 MB / 444.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.004423, allocations: 4 kB / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.005088, allocations: 451 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.005655, allocations: 299.2 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.006177, allocations: 179.2 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.006493, allocations: 179.6 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.006604, allocations: 16.22 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.006793, allocations: 119.8 kB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.007112, allocations: 247.5 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.007141, allocations: 7.938 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.00728, allocations: 55.89 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.007395, allocations: 83.72 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.00746, allocations: 39.69 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.007853, allocations: 259 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.007856, allocations: 0 / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007857, allocations: 4 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.007864, allocations: 0 / 446.8 MB, free: 1.125 MB / 366.1 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.0008826/0.008746, allocations: 0.5776 MB / 447.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.008782, allocations: 11.97 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.008864, allocations: 48.59 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.009178, allocations: 246 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.009192, allocations: 4.375 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.009219, allocations: 4.375 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.009408, allocations: 62.23 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.009421, allocations: 192 / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.009431, allocations: 4.375 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.009435, allocations: 384 / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.009561, allocations: 43.84 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2008/0.2104, allocations: 335.1 kB / 448.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2105, allocations: 46.94 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.2106, allocations: 19.75 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.2106, allocations: 4.969 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2107, allocations: 37.34 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.2107, allocations: 1.75 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001119/0.2118, allocations: 329.5 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2118, allocations: 53.36 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.2128, allocations: 0.8672 MB / 449.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2128, allocations: 30.23 kB / 449.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2129, allocations: 209.4 kB / 449.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.213, allocations: 32.8 kB / 449.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.213, allocations: 25.09 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2131, allocations: 366.5 kB / 450.1 MB, free: 18.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2132, allocations: 31.39 kB / 450.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.2133, allocations: 31.3 kB / 450.2 MB, free: 18.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.2135, allocations: 81.84 kB / 450.3 MB, free: 18.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2135, allocations: 1 kB / 450.3 MB, free: 18.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002815/0.2138, allocations: 143.4 kB / 450.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2138, allocations: 6.672 kB / 450.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2138, allocations: 0 / 450.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2138, allocations: 1.375 kB / 450.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.214, allocations: 24.81 kB / 450.5 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.214, allocations: 1.281 kB / 450.5 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.2141, allocations: 6.766 kB / 450.5 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2141, allocations: 3.094 kB / 450.5 MB, free: 18.13 MB / 366.1 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 0.0001907/0.2143, allocations: 222 kB / 450.7 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2143, allocations: 46.64 kB / 450.7 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.2147, allocations: 177.4 kB / 450.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2147, allocations: 0 / 450.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2147, allocations: 0.8438 kB / 450.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2147, allocations: 1.688 kB / 450.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.2153, allocations: 465.8 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2153, allocations: 0 / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.2154, allocations: 20.8 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2154, allocations: 2.078 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2154, allocations: 1.375 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2154, allocations: 2.125 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2154, allocations: 0.875 kB / 451.4 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2157, allocations: 254.9 kB / 451.6 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2158, allocations: 35.89 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.2158, allocations: 5.375 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.2159, allocations: 10.06 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2159, allocations: 11.34 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.216, allocations: 2.75 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006898/0.2166, allocations: 0.6521 MB / 452.4 MB, free: 17.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2166, allocations: 1.062 kB / 452.4 MB, free: 17.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.217, allocations: 27.7 kB / 452.4 MB, free: 17.11 MB / 366.1 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.001867/0.2188, allocations: 494.1 kB / 452.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2191, allocations: 75.08 kB / 452.9 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2191, allocations: 0 / 452.9 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2192, allocations: 37.92 kB / 453 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.2196, allocations: 33.86 kB / 453 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2209, allocations: 0.836 MB / 453.8 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2212, allocations: 231.5 kB / 454.1 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.2213, allocations: 17.42 kB / 454.1 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2213, allocations: 16.58 kB / 454.1 MB, free: 16.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2213, allocations: 0 / 454.1 MB, free: 16.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006445/0.2278, allocations: 1.604 MB / 455.7 MB, free: 16.14 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03332357481122]