Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0009328/0.0009328, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002213, allocations: 453.9 kB / 10.45 MB, free: 244 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.0008894/0.0008894, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002096, allocations: 479.6 kB / 11.82 MB, free: 2.34 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.9886/0.9886, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09797/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2758/0.2758, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03058/0.3064, allocations: 13.23 MB / 292.8 MB, free: 6.391 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.768e-05, allocations: 2.969 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003158/0.003186, allocations: 1.751 MB / 295.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004327, allocations: 0.838 MB / 296.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.004368, allocations: 0 / 296.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.004556, allocations: 31.77 kB / 296.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.004715, allocations: 39.72 kB / 296.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.137e-06/0.00472, allocations: 4 kB / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004888, allocations: 35.83 kB / 296.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.004937, allocations: 4 kB / 296.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.005042, allocations: 14.48 kB / 296.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.005078, allocations: 11.94 kB / 296.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00509, allocations: 4 kB / 296.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.005159, allocations: 15.98 kB / 296.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.005209, allocations: 11.94 kB / 296.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.005232, allocations: 7.938 kB / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.00537, allocations: 59.7 kB / 296.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.005382, allocations: 0 / 296.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005382, allocations: 0 / 296.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.005395, allocations: 0 / 296.9 MB, free: 2.242 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003414/0.005736, allocations: 277.5 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.005771, allocations: 8.922 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.005804, allocations: 16.92 kB / 297.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.005964, allocations: 121.7 kB / 297.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.005975, allocations: 4.375 kB / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.005985, allocations: 384 / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.006126, allocations: 90.2 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006136, allocations: 8.125 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.006143, allocations: 4.359 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.006193, allocations: 20.36 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.006233, allocations: 33.64 kB / 297.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.006797, allocations: 0.7717 MB / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.006864, allocations: 169.1 kB / 298.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.006898, allocations: 84.17 kB / 298.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.006921, allocations: 75.28 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.006963, allocations: 113.8 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.006963, allocations: 0 / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.134e-05/0.007025, allocations: 33.7 kB / 298.7 MB, free: 300 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.00708, allocations: 126.7 kB / 298.9 MB, free: 160 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.007246, allocations: 178.4 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007257, allocations: 25.7 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.00734, allocations: 151.5 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.007344, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.007401, allocations: 49.64 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.007503, allocations: 318.8 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.007522, allocations: 11.94 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.007625, allocations: 139.5 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.007853, allocations: 191.6 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.007858, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001754/0.008034, allocations: 141.7 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.00805, allocations: 12.03 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.008057, allocations: 4 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.008071, allocations: 7.984 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.008167, allocations: 47.91 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.008175, allocations: 11.94 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.008243, allocations: 15.89 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.008253, allocations: 8 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.801e-05/0.008351, allocations: 203.8 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.0084, allocations: 112.9 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.008446, allocations: 112.8 kB / 300.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/0.008493, allocations: 180.3 kB / 300.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.141e-05/0.008545, allocations: 188.2 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.008597, allocations: 188.2 kB / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.00877, allocations: 333.4 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.008796, allocations: 101 kB / 301.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.008822, allocations: 101 kB / 301.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.008869, allocations: 112.9 kB / 301.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.501e-05/0.008914, allocations: 176.3 kB / 301.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.008971, allocations: 188.2 kB / 302.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.805e-05/0.009019, allocations: 180.3 kB / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.014e-05/0.009069, allocations: 184.3 kB / 302.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.009195, allocations: 311.7 kB / 302.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.009255, allocations: 184.2 kB / 303 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.009311, allocations: 101 kB / 303 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.009371, allocations: 180.2 kB / 303.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.009402, allocations: 109 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.009455, allocations: 35.02 kB / 303.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009455, allocations: 0 / 303.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.009624, allocations: 12 kB / 303.4 MB, free: 11.3 MB / 298.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 (0): * Single equations (assignments): 0 * 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.0006801/0.0103, allocations: 321.6 kB / 303.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01041, allocations: 60.59 kB / 303.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.01043, allocations: 5.875 kB / 303.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-06/0.01043, allocations: 0 / 303.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01067, allocations: 492.8 kB / 304.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.011, allocations: 238.4 kB / 304.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01104, allocations: 67.83 kB / 304.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.01112, allocations: 13.14 kB / 304.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.01118, allocations: 59.38 kB / 304.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.595e-06/0.01118, allocations: 0 / 304.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Templates: time 0.002407/0.01359, allocations: 0.6004 MB / 305.2 MB, free: 9.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7948301676660776]