Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001378/0.001378, 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.001037/0.001037, allocations: 169 kB / 24.14 MB, free: 364 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.99/0.99, allocations: 158.6 MB / 186 MB, free: 2.77 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.143/0.143, 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.6e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002983/0.002999, allocations: 1.604 MB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.003702, allocations: 339.2 kB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.003762, allocations: 4 kB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1308/0.1346, allocations: 446.7 kB / 301.4 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.135, allocations: 255.3 kB / 301.7 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1354, allocations: 145.4 kB / 301.8 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1357, allocations: 161 kB / 302 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.1357, allocations: 9.297 kB / 302 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1359, allocations: 115.5 kB / 302.1 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1361, allocations: 194.8 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1361, allocations: 4 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.1362, allocations: 21.83 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.1363, allocations: 82.33 kB / 302.4 MB, free: 19.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1363, allocations: 35.72 kB / 302.4 MB, free: 19.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1365, allocations: 183.8 kB / 302.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1365, allocations: 1.656 kB / 302.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1365, allocations: 1.703 kB / 302.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1365, allocations: 0 / 302.6 MB, free: 19.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004119/0.1369, allocations: 0.5268 MB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.137, allocations: 14.19 kB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.137, allocations: 25.8 kB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1372, allocations: 245.6 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1372, allocations: 1.531 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1372, allocations: 6.094 kB / 303.4 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.1373, allocations: 51.05 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.1373, allocations: 0.8438 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.1373, allocations: 1.625 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1373, allocations: 4.969 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.1373, allocations: 7.172 kB / 303.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1375, allocations: 195.3 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.1375, allocations: 23.83 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.1376, allocations: 6.359 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1376, allocations: 2.594 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.1376, allocations: 32.09 kB / 303.8 MB, free: 18.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1376, allocations: 0 / 303.8 MB, free: 18.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001063/0.1377, allocations: 64.42 kB / 303.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.1377, allocations: 52.5 kB / 303.9 MB, free: 18.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.1381, allocations: 0.5231 MB / 304.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.1381, allocations: 25.7 kB / 304.4 MB, free: 18.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1382, allocations: 142.4 kB / 304.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1382, allocations: 5.641 kB / 304.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.1382, allocations: 15.36 kB / 304.6 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.1382, allocations: 354.6 kB / 304.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.1383, allocations: 1.094 kB / 304.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.1383, allocations: 6.062 kB / 304.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.1383, allocations: 13.42 kB / 304.9 MB, free: 17.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1383, allocations: 1.312 kB / 304.9 MB, free: 17.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.262e-05/0.1384, allocations: 59.77 kB / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1384, allocations: 9.031 kB / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1384, allocations: 1.891 kB / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1384, allocations: 0 / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1384, allocations: 5 kB / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1385, allocations: 0 / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1385, allocations: 3.953 kB / 305 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1385, allocations: 5.188 kB / 305 MB, free: 17.75 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 (2): * Single equations (assignments): 2 * 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.139e-05/0.1385, allocations: 116.2 kB / 305.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1386, allocations: 20.45 kB / 305.2 MB, free: 17.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1387, allocations: 77.34 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1387, allocations: 2.062 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1387, allocations: 2.188 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1387, allocations: 4 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1388, allocations: 134.3 kB / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1388, allocations: 0 / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.1389, allocations: 7.891 kB / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1389, allocations: 0 / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1389, allocations: 2.344 kB / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1389, allocations: 0.7031 kB / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1389, allocations: 5.125 kB / 305.4 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.1389, allocations: 148.5 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.139, allocations: 33.27 kB / 305.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.139, allocations: 5.188 kB / 305.6 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.139, allocations: 1.969 kB / 305.6 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.139, allocations: 6.5 kB / 305.6 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.139, allocations: 4.438 kB / 305.6 MB, free: 17.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1393, allocations: 282.1 kB / 305.9 MB, free: 17.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1393, allocations: 0 / 305.9 MB, free: 17.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.1394, allocations: 16.22 kB / 305.9 MB, free: 17.32 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 (2): * Single equations (assignments): 2 * 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.000816/0.1402, allocations: 429.5 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.403e-05/0.1403, allocations: 17.19 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.1403, allocations: 4.594 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.1403, allocations: 8.047 kB / 306.3 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.1405, allocations: 29.78 kB / 306.4 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.1411, allocations: 0.5571 MB / 306.9 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.1411, allocations: 119 kB / 307 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1412, allocations: 9.5 kB / 307 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1412, allocations: 59.78 kB / 307.1 MB, free: 16.64 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1412, allocations: 0 / 307.1 MB, free: 16.64 MB / 282.7 MB Notification: Performance of Templates: time 0.003706/0.1449, allocations: 1.233 MB / 308.3 MB, free: 16.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.073549505788833]