Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 164 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.367e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002872/0.002896, allocations: 1.674 MB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004026, allocations: 0.5647 MB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.004074, allocations: 7.938 kB / 444.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.004617, allocations: 455 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.005042, allocations: 295.2 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.005459, allocations: 175 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.00568, allocations: 183.6 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.5e-05/0.005745, allocations: 20.2 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.005882, allocations: 123.8 kB / 446.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.006139, allocations: 235.6 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.00616, allocations: 4 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.006267, allocations: 55.86 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.006357, allocations: 91.62 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.006407, allocations: 35.75 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.006726, allocations: 259 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006728, allocations: 4 kB / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006729, allocations: 0 / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.006733, allocations: 0 / 446.8 MB, free: 1.211 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.0008345/0.007567, allocations: 0.5815 MB / 447.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.007599, allocations: 12.03 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.007663, allocations: 40.66 kB / 447.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.007924, allocations: 250 kB / 447.7 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.007934, allocations: 4.375 kB / 447.7 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.007947, allocations: 384 / 447.7 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.00809, allocations: 62.23 kB / 447.8 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008098, allocations: 4.188 kB / 447.8 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.008109, allocations: 8.125 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.008113, allocations: 3.984 kB / 447.8 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.008225, allocations: 35.91 kB / 447.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2365/0.2448, allocations: 339.4 kB / 448.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.245, allocations: 48.14 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.2451, allocations: 19.89 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2451, allocations: 0 / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.2451, allocations: 35.59 kB / 448.3 MB, free: 19.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.2451, allocations: 0 / 448.3 MB, free: 19.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001311/0.2464, allocations: 339.1 kB / 448.6 MB, free: 19.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2465, allocations: 52.72 kB / 448.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2476, allocations: 0.8604 MB / 449.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2476, allocations: 28.8 kB / 449.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2477, allocations: 219.9 kB / 449.8 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2478, allocations: 23.7 kB / 449.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.2478, allocations: 25.17 kB / 449.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2479, allocations: 360.8 kB / 450.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.248, allocations: 31.28 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.2481, allocations: 32.89 kB / 450.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.2483, allocations: 75.94 kB / 450.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2483, allocations: 0 / 450.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002997/0.2486, allocations: 158.1 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2486, allocations: 4.969 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2486, allocations: 0.5156 kB / 450.4 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2486, allocations: 1.031 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2488, allocations: 18.55 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2488, allocations: 2.75 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.2488, allocations: 8.078 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2489, allocations: 2.812 kB / 450.5 MB, free: 18.19 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.0001863/0.249, allocations: 223.7 kB / 450.7 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2491, allocations: 48.33 kB / 450.7 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.2495, allocations: 171 kB / 450.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2495, allocations: 2.094 kB / 450.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2495, allocations: 0 / 450.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2495, allocations: 4.125 kB / 450.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.2502, allocations: 469.4 kB / 451.4 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2502, allocations: 0 / 451.4 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.2502, allocations: 26.42 kB / 451.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2503, allocations: 0 / 451.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2503, allocations: 2.609 kB / 451.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2503, allocations: 1.406 kB / 451.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2503, allocations: 4.312 kB / 451.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2506, allocations: 253.7 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.2506, allocations: 35.02 kB / 451.7 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.2507, allocations: 1.344 kB / 451.7 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.2508, allocations: 7.391 kB / 451.7 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.2508, allocations: 15.95 kB / 451.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2508, allocations: 2.406 kB / 451.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.2515, allocations: 0.6502 MB / 452.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2515, allocations: 3.938 kB / 452.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.2518, allocations: 33.89 kB / 452.4 MB, free: 17.17 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.001895/0.2537, allocations: 495.4 kB / 452.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.2539, allocations: 74.7 kB / 453 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.254, allocations: 1.438 kB / 453 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2541, allocations: 40.7 kB / 453 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.2545, allocations: 24.95 kB / 453 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2558, allocations: 0.8393 MB / 453.9 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.2561, allocations: 226.8 kB / 454.1 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.2562, allocations: 26.52 kB / 454.1 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.2562, allocations: 19.16 kB / 454.1 MB, free: 16.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2562, allocations: 7.938 kB / 454.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of Templates: time 0.006703/0.2629, allocations: 1.606 MB / 455.7 MB, free: 16.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.014181073755026]