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.001174/0.001174, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002628, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007899/0.0007899, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001812, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9489/0.9489, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09102/1.04, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2693/0.2693, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02306/0.2924, allocations: 13.24 MB / 292.6 MB, free: 6.461 MB / 282.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.593e-06/1.593e-06, allocations: 0 / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.883e-05, allocations: 3.516 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002009/0.002028, allocations: 1.749 MB / 295.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.002738, allocations: 0.5756 MB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.002791, allocations: 3.938 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.003159, allocations: 491 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.003482, allocations: 311.1 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.003755, allocations: 131.6 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.003985, allocations: 167.7 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004087, allocations: 15.97 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.004285, allocations: 159.7 kB / 297.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.004438, allocations: 199.6 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004453, allocations: 4 kB / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.00455, allocations: 51.92 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.00463, allocations: 79.72 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.004664, allocations: 35.75 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.004895, allocations: 211 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.004912, allocations: 0 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004912, allocations: 0 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.004928, allocations: 0 / 298 MB, free: 1 MB / 282.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.0005143/0.005442, allocations: 0.6043 MB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.005478, allocations: 8.922 kB / 298.7 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.005515, allocations: 24.91 kB / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005684, allocations: 246 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.005696, allocations: 8.375 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005715, allocations: 8.328 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005829, allocations: 59.5 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005838, allocations: 192 / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005846, allocations: 8.359 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005851, allocations: 384 / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.005879, allocations: 15.88 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.006078, allocations: 176.2 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.006126, allocations: 30.59 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.006139, allocations: 8.859 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.006159, allocations: 4 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.00618, allocations: 34.56 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.006181, allocations: 0 / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000438/0.006619, allocations: 169.4 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.006648, allocations: 55.41 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.006957, allocations: 0.5244 MB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.006965, allocations: 25.7 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.007021, allocations: 149.3 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.007043, allocations: 23.75 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.007072, allocations: 25.7 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.007154, allocations: 358.6 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.007169, allocations: 11.98 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.007181, allocations: 7.938 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.007212, allocations: 28.83 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007212, allocations: 0 / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.542e-05/0.007288, allocations: 73.59 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.0073, allocations: 4 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007304, allocations: 0 / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.007311, allocations: 0 / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.007388, allocations: 31.92 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007391, allocations: 0 / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.007414, allocations: 0 / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007418, allocations: 4 kB / 300.7 MB, free: 14.14 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 (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.325e-05/0.007482, allocations: 112.7 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.007507, allocations: 27.92 kB / 300.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.007615, allocations: 93.53 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.007618, allocations: 4 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.00762, allocations: 4 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.007623, allocations: 3.984 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.007873, allocations: 303.8 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007875, allocations: 0 / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.007916, allocations: 23.92 kB / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.007939, allocations: 39.7 kB / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.007943, allocations: 4 kB / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.007947, allocations: 0 / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00795, allocations: 4 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.007952, allocations: 3.984 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.00804, allocations: 180.4 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.008055, allocations: 8.359 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.008094, allocations: 4 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.008117, allocations: 7.984 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.00812, allocations: 0 / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.008282, allocations: 283.2 kB / 301.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008282, allocations: 0 / 301.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.008427, allocations: 35.92 kB / 301.9 MB, free: 12.95 MB / 298.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.001531/0.009958, allocations: 0.6169 MB / 302.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.01005, allocations: 36.72 kB / 302.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.01005, allocations: 4 kB / 302.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.01007, allocations: 16.86 kB / 302.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01028, allocations: 42.02 kB / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.01104, allocations: 0.6065 MB / 303.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.45e-05/0.01111, allocations: 119.2 kB / 303.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.01115, allocations: 17.02 kB / 303.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.01121, allocations: 59.38 kB / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.01121, allocations: 0 / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Templates: time 0.003976/0.01518, allocations: 1.743 MB / 305.1 MB, free: 9.977 MB / 298.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 -ignoreHideResult -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: 2.8569181971251965]