Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001216/0.001216, allocations: 79.92 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001661/0.001661, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8332/0.8332, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1866/0.1866, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.691e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003606/0.003633, allocations: 1.643 MB / 300.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.004405, allocations: 363.1 kB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.004485, allocations: 0 / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1303/0.1348, allocations: 443.2 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.1353, allocations: 252.7 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1357, allocations: 151.3 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.1361, allocations: 166.4 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1363, allocations: 13.86 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1365, allocations: 120.3 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.1368, allocations: 196.3 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1368, allocations: 2.688 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.1369, allocations: 31.98 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1371, allocations: 89.81 kB / 302.5 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1371, allocations: 36 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1374, allocations: 194.1 kB / 302.7 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1374, allocations: 1.844 kB / 302.7 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1374, allocations: 0 / 302.7 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1374, allocations: 2.453 kB / 302.7 MB, free: 19.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005856/0.138, allocations: 0.5357 MB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.138, allocations: 8.812 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1381, allocations: 24.08 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1383, allocations: 247.1 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1383, allocations: 1.531 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1383, allocations: 3.531 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1384, allocations: 59.62 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1384, allocations: 1.031 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1385, allocations: 12.72 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1385, allocations: 1.062 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.1385, allocations: 7.656 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1388, allocations: 203.8 kB / 303.8 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.139, allocations: 30.19 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.139, allocations: 8.297 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.139, allocations: 5.891 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.1391, allocations: 42.5 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.1391, allocations: 0 / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003483/0.1394, allocations: 95.69 kB / 304 MB, free: 18.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1394, allocations: 53.16 kB / 304 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.1399, allocations: 0.5212 MB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1399, allocations: 27.44 kB / 304.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.14, allocations: 141.1 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.14, allocations: 21.17 kB / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.14, allocations: 15.28 kB / 304.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.1401, allocations: 358.8 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.1401, allocations: 4.297 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.1401, allocations: 5.312 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.1402, allocations: 28.22 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1402, allocations: 0 / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.967e-05/0.1402, allocations: 64.81 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1403, allocations: 6.016 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1403, allocations: 1.281 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1403, allocations: 0 / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.1403, allocations: 13.88 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1403, allocations: 1.109 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.1404, allocations: 4 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1404, allocations: 2.984 kB / 305.2 MB, free: 17.54 MB / 282.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 (5): * Single equations (assignments): 5 * 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 7.949e-05/0.1405, allocations: 116.1 kB / 305.4 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1405, allocations: 25.84 kB / 305.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.1407, allocations: 86.73 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1407, allocations: 6.625 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1407, allocations: 0 / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1407, allocations: 1.312 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.141, allocations: 281.5 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.141, allocations: 4.5 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.141, allocations: 10.03 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.141, allocations: 1 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.141, allocations: 0 / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.141, allocations: 1.922 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.141, allocations: 0 / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1411, allocations: 163.2 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.1412, allocations: 38.44 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1412, allocations: 0.7031 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.1412, allocations: 3.062 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1412, allocations: 6.719 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1413, allocations: 0.5156 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1415, allocations: 280.2 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1415, allocations: 0 / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.1417, allocations: 22.28 kB / 306.3 MB, free: 17 MB / 282.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 (5): * Single equations (assignments): 5 * 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.001092/0.1428, allocations: 0.5011 MB / 306.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.1429, allocations: 21.55 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.1429, allocations: 4.594 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.1429, allocations: 19.72 kB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1431, allocations: 33.55 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.1439, allocations: 0.5697 MB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.1439, allocations: 119.9 kB / 307.5 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.08e-05/0.144, allocations: 15.39 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.144, allocations: 62.5 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.144, allocations: 0 / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004806/0.1488, allocations: 1.436 MB / 309.1 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.0212272107601166]