Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001822/0.001822, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.002269/0.002269, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.2646/0.2646, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1318, allocations: 66 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003426/0.1352, allocations: 1.62 MB / 0.5581 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1363, allocations: 0.5338 MB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.1364, allocations: 0 / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.137, allocations: 455.1 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.1375, allocations: 295.3 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1378, allocations: 118.7 kB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.138, allocations: 163.6 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.1381, allocations: 12.17 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1382, allocations: 115.7 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1385, allocations: 247.5 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1385, allocations: 0 / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.1386, allocations: 31.97 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1387, allocations: 83.69 kB / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1388, allocations: 95 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1391, allocations: 254.6 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1391, allocations: 0 / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1391, allocations: 0 / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1391, allocations: 0 / 0.5604 GB, free: 1.324 MB / 414.1 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.0007868/0.1399, allocations: 0.6474 MB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.14, allocations: 8.031 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.274e-05/0.1401, allocations: 44.66 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1404, allocations: 296.6 kB / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1404, allocations: 384 / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1404, allocations: 4.375 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1405, allocations: 61.48 kB / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1406, allocations: 0 / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1406, allocations: 0 / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1406, allocations: 4 kB / 0.5615 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.1407, allocations: 23.98 kB / 0.5615 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1412, allocations: 372.8 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1413, allocations: 34.5 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1413, allocations: 12.92 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1413, allocations: 7.984 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1414, allocations: 34.56 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1414, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002983/0.1417, allocations: 93.41 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1417, allocations: 51.41 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.1426, allocations: 0.8691 MB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1426, allocations: 25.7 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1428, allocations: 232.1 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1429, allocations: 7.953 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1429, allocations: 9.719 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1431, allocations: 366.7 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.1431, allocations: 7.984 kB / 0.5635 GB, free: 13.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.1431, allocations: 8 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.1432, allocations: 28.84 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1432, allocations: 4.062 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001666/0.1434, allocations: 89.39 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1434, allocations: 4 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1434, allocations: 4 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1434, allocations: 7.875 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1435, allocations: 4 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1435, allocations: 0 / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1436, allocations: 4 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1436, allocations: 7.984 kB / 0.5637 GB, free: 13.75 MB / 430.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 (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 0.0002204/0.1438, allocations: 215.9 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.1439, allocations: 39.72 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.1441, allocations: 104.7 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1441, allocations: 0 / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1441, allocations: 0 / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1441, allocations: 7.922 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.1444, allocations: 281.5 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1444, allocations: 4.031 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.1445, allocations: 11.94 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1445, allocations: 3.984 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1445, allocations: 0 / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1445, allocations: 0 / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1445, allocations: 0 / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1447, allocations: 195.1 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.1448, allocations: 112.9 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1448, allocations: 0 / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1449, allocations: 0 / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.1449, allocations: 4 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1449, allocations: 0 / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006681/0.1456, allocations: 0.6511 MB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1456, allocations: 0 / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1458, allocations: 27.89 kB / 0.5653 GB, free: 12.02 MB / 430.1 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.00131/0.1472, allocations: 360.5 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1473, allocations: 23.92 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1473, allocations: 0 / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.1474, allocations: 16.05 kB / 0.5657 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1478, allocations: 27.44 kB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.149, allocations: 0.8195 MB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.1495, allocations: 0.8143 MB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1495, allocations: 15.42 kB / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1495, allocations: 0 / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Templates: time 0.007436/0.157, allocations: 3.463 MB / 0.5707 GB, free: 6.555 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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: 7.740330884989817]