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.001029/0.001029, allocations: 76.06 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.001824/0.001824, allocations: 169 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.9821/0.9821, allocations: 158.6 MB / 186 MB, free: 2.73 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.1329/0.1329, allocations: 32.39 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.803e-06/1.803e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.561e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002304/0.00233, allocations: 1.651 MB / 300.8 MB, free: 500 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005444/0.002874, allocations: 343.2 kB / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.00294, allocations: 0 / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1308/0.1337, allocations: 443.2 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.1341, allocations: 249.2 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1345, allocations: 144.5 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1349, allocations: 165.8 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.135, allocations: 8.578 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1352, allocations: 116.3 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.1354, allocations: 190.7 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1354, allocations: 5.188 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.159e-05/0.1355, allocations: 26.97 kB / 302.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.1356, allocations: 82.77 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1356, allocations: 41.3 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1359, allocations: 175.8 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1359, allocations: 1.156 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1359, allocations: 0 / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1359, allocations: 0 / 302.7 MB, free: 19.18 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.0004447/0.1363, allocations: 0.5327 MB / 303.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1364, allocations: 10.88 kB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.1364, allocations: 21.69 kB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1366, allocations: 247.9 kB / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1366, allocations: 384 / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-06/0.1366, allocations: 4.344 kB / 303.5 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.1367, allocations: 54.31 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1367, allocations: 3.453 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1367, allocations: 384 / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1367, allocations: 3.938 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.1368, allocations: 10.84 kB / 303.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.137, allocations: 190 kB / 303.8 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.416e-05/0.137, allocations: 26.67 kB / 303.8 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.1371, allocations: 9.203 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1371, allocations: 1.766 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.1371, allocations: 31.72 kB / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1371, allocations: 0 / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.1372, allocations: 62.05 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.1372, allocations: 51.41 kB / 304 MB, free: 18.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.1376, allocations: 0.5215 MB / 304.5 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1376, allocations: 26.77 kB / 304.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.1377, allocations: 147.9 kB / 304.7 MB, free: 17.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1377, allocations: 9.031 kB / 304.7 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1377, allocations: 12.67 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.1378, allocations: 354.8 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.1378, allocations: 2.625 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.1378, allocations: 1.516 kB / 305 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.1378, allocations: 16.44 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1378, allocations: 1.469 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.65e-05/0.1379, allocations: 58.83 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1379, allocations: 9.656 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1379, allocations: 0 / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1379, allocations: 1.719 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.138, allocations: 8.578 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.138, allocations: 2.672 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.138, allocations: 1.062 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.138, allocations: 0.7969 kB / 305.1 MB, free: 17.57 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 5.094e-05/0.1381, allocations: 115.2 kB / 305.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.1381, allocations: 20.36 kB / 305.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.1382, allocations: 80.05 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1382, allocations: 1.828 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1382, allocations: 2.25 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1382, allocations: 0 / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1383, allocations: 134.2 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1383, allocations: 0 / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.1384, allocations: 9.625 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1384, allocations: 0 / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.1384, allocations: 1.031 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1384, allocations: 7.859 kB / 305.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1384, allocations: 4.781 kB / 305.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1385, allocations: 147.2 kB / 305.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1385, allocations: 35.48 kB / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1385, allocations: 0 / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.1386, allocations: 3.297 kB / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1386, allocations: 5.672 kB / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1386, allocations: 1.125 kB / 305.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.1389, allocations: 280.5 kB / 306 MB, free: 17.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1389, allocations: 0 / 306 MB, free: 17.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.139, allocations: 22.89 kB / 306 MB, free: 17.14 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.0009355/0.14, allocations: 424.7 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.14, allocations: 18.25 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.14, allocations: 5.281 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.14, allocations: 8.703 kB / 306.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1403, allocations: 27.86 kB / 306.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.1409, allocations: 0.5613 MB / 307 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.141, allocations: 117.6 kB / 307.1 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.141, allocations: 9.094 kB / 307.1 MB, free: 16.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1411, allocations: 55.62 kB / 307.2 MB, free: 16.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1411, allocations: 0 / 307.2 MB, free: 16.46 MB / 282.7 MB Notification: Performance of Templates: time 0.004143/0.1452, allocations: 1.23 MB / 308.4 MB, free: 16.3 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 -s gbode -gbm=radauIIA3 -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: 2.920425581280142]