Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001078/0.001078, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009988/0.0009988, allocations: 169 kB / 24.14 MB, free: 360 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.9134/0.9134, allocations: 158.6 MB / 186 MB, free: 2.773 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.1312/0.1312, 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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.474e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002594/0.002619, allocations: 1.643 MB / 300.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.003161, allocations: 331.3 kB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.003217, allocations: 3.938 kB / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1281/0.1313, allocations: 449.9 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1317, allocations: 255.5 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.132, allocations: 105.1 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1323, allocations: 158.1 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.1324, allocations: 16.27 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1325, allocations: 114.9 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1328, allocations: 193.7 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1328, allocations: 4.125 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.1329, allocations: 35.94 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.133, allocations: 81.58 kB / 302.4 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.133, allocations: 36.12 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1332, allocations: 192.7 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1332, allocations: 1.188 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1332, allocations: 0.6562 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1333, allocations: 1.656 kB / 302.7 MB, free: 19.16 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.0004912/0.1337, allocations: 0.5362 MB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1338, allocations: 10.95 kB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1338, allocations: 26.86 kB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.134, allocations: 240 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.134, allocations: 2.766 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.134, allocations: 2.719 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.1341, allocations: 62.16 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1341, allocations: 0.9375 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.1341, allocations: 3.938 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1341, allocations: 1.594 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.1342, allocations: 8.219 kB / 303.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.1344, allocations: 163.3 kB / 303.7 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1345, allocations: 31.16 kB / 303.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.1345, allocations: 9.109 kB / 303.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1345, allocations: 1.781 kB / 303.7 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.1345, allocations: 37.56 kB / 303.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.1345, allocations: 0 / 303.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002804/0.1348, allocations: 104.7 kB / 303.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1348, allocations: 55.73 kB / 303.9 MB, free: 18.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.1353, allocations: 0.5169 MB / 304.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.1353, allocations: 26.31 kB / 304.5 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.1353, allocations: 144.8 kB / 304.6 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1353, allocations: 17.22 kB / 304.6 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1354, allocations: 18.12 kB / 304.7 MB, free: 17.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.1354, allocations: 358.4 kB / 305 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.1354, allocations: 7.922 kB / 305 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.1355, allocations: 5.297 kB / 305 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.1355, allocations: 20.17 kB / 305 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1355, allocations: 1.062 kB / 305 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.043e-05/0.1356, allocations: 68.75 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1356, allocations: 5.688 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1356, allocations: 1.453 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1356, allocations: 1.938 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.1356, allocations: 13.3 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1356, allocations: 0 / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.1357, allocations: 4.984 kB / 305.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1357, allocations: 1.844 kB / 305.1 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 5.572e-05/0.1357, allocations: 112.3 kB / 305.2 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.1358, allocations: 29.5 kB / 305.3 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.1359, allocations: 87.44 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1359, allocations: 1.062 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1359, allocations: 1.125 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1359, allocations: 0.8438 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.1362, allocations: 278.6 kB / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1362, allocations: 0.9688 kB / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1362, allocations: 10.47 kB / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1362, allocations: 0 / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.1362, allocations: 0.6094 kB / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1362, allocations: 1.25 kB / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1362, allocations: 0 / 305.6 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.688e-05/0.1363, allocations: 165.4 kB / 305.8 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.1363, allocations: 35.98 kB / 305.8 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1363, allocations: 1.312 kB / 305.8 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.1364, allocations: 7.469 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.1364, allocations: 3.766 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1364, allocations: 1.219 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.1367, allocations: 277.2 kB / 306.1 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0 / 306.1 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.1368, allocations: 23.17 kB / 306.2 MB, free: 17.01 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.0009926/0.1378, allocations: 0.5014 MB / 306.7 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.493e-05/0.1379, allocations: 22.16 kB / 306.7 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.1379, allocations: 11.53 kB / 306.7 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.1379, allocations: 14.67 kB / 306.7 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1381, allocations: 28.36 kB / 306.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.1387, allocations: 0.5764 MB / 307.3 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.576e-05/0.1388, allocations: 116.9 kB / 307.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.1389, allocations: 10 kB / 307.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1389, allocations: 57.69 kB / 307.5 MB, free: 16.27 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1389, allocations: 1.469 kB / 307.5 MB, free: 16.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004122/0.143, allocations: 1.421 MB / 308.9 MB, free: 16.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.816106852144003]