Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.000832/0.000832, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009674/0.0009674, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8793/0.8793, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.65e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002051/0.002067, allocations: 1.644 MB / 441.2 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.003045, allocations: 0.5724 MB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.003117, allocations: 0 / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.003565, allocations: 451.1 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.003955, allocations: 295.2 kB / 442.5 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.004317, allocations: 181.9 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.004539, allocations: 175.6 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.00465, allocations: 16 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.004767, allocations: 119.8 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.004944, allocations: 243.5 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.004962, allocations: 4 kB / 443.3 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.005042, allocations: 31.92 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.005127, allocations: 87.7 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.005167, allocations: 35.75 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.005407, allocations: 243.1 kB / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.005413, allocations: 15.92 kB / 443.7 MB, free: 140 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.005415, allocations: 0 / 443.7 MB, free: 140 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.00542, allocations: 4 kB / 443.7 MB, free: 136 kB / 410.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.165/0.1704, allocations: 0.5741 MB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1705, allocations: 11.62 kB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.1705, allocations: 32.81 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1705, allocations: 49.02 kB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1707, allocations: 252.1 kB / 444.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1707, allocations: 1.562 kB / 444.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1707, allocations: 4.438 kB / 444.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1709, allocations: 57.17 kB / 444.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1709, allocations: 0.75 kB / 444.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1709, allocations: 0.625 kB / 444.7 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.1709, allocations: 7.828 kB / 444.7 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.1709, allocations: 30.08 kB / 444.7 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1713, allocations: 360 kB / 445 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1714, allocations: 56.25 kB / 445.1 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.1715, allocations: 14.11 kB / 445.1 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1715, allocations: 0 / 445.1 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.1715, allocations: 38.72 kB / 445.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1715, allocations: 0.7188 kB / 445.2 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003876/0.1719, allocations: 244.4 kB / 445.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.1719, allocations: 54.47 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.1723, allocations: 0.8758 MB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.1723, allocations: 29.83 kB / 446.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1724, allocations: 231 kB / 446.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1724, allocations: 17.3 kB / 446.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1725, allocations: 19.66 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.1725, allocations: 364.1 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.1725, allocations: 23.69 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.1726, allocations: 24.8 kB / 447 MB, free: 44.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.1726, allocations: 54.75 kB / 447.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1726, allocations: 3.375 kB / 447.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.1728, allocations: 126 kB / 447.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1728, allocations: 9.625 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1728, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1728, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.1728, allocations: 11.73 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1728, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.1729, allocations: 5.875 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1729, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.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 9.42e-05/0.173, allocations: 223.8 kB / 447.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.173, allocations: 44.91 kB / 447.5 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.1732, allocations: 138.9 kB / 447.6 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1732, allocations: 2.656 kB / 447.6 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1732, allocations: 0 / 447.6 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1732, allocations: 3.234 kB / 447.6 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1734, allocations: 449.9 kB / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1734, allocations: 0 / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.1735, allocations: 15.66 kB / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1735, allocations: 0 / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1735, allocations: 0 / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1735, allocations: 3.203 kB / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1735, allocations: 2.953 kB / 448.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1736, allocations: 230.6 kB / 448.3 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.1736, allocations: 43.61 kB / 448.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1736, allocations: 0 / 448.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.1737, allocations: 11.55 kB / 448.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1737, allocations: 5.625 kB / 448.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1737, allocations: 2.938 kB / 448.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.174, allocations: 0.6642 MB / 449 MB, free: 43.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.174, allocations: 0 / 449 MB, free: 43.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.1742, allocations: 21.09 kB / 449.1 MB, free: 43.86 MB / 410.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.0008315/0.175, allocations: 1.085 MB / 450.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1752, allocations: 50.52 kB / 450.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1752, allocations: 0 / 450.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.1752, allocations: 35.97 kB / 450.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1755, allocations: 24.48 kB / 450.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1776, allocations: 3.284 MB / 453.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1777, allocations: 220.9 kB / 453.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.1778, allocations: 19.58 kB / 453.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1778, allocations: 119.3 kB / 453.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1778, allocations: 0 / 453.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.1966, allocations: 6.807 MB / 460.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.996, allocations: 6.156 kB / 460.7 MB, free: 39.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 8.895272347144783]