Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001225/0.001225, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001026/0.001026, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8901/0.8901, 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.2162/0.2162, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.448e-05, allocations: 8.047 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00197/0.001985, allocations: 1.6 MB / 441.2 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.002597, allocations: 0.5335 MB / 441.7 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.002643, allocations: 0 / 441.7 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.003045, allocations: 443.1 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.003399, allocations: 295.2 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.003639, allocations: 130.6 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.003829, allocations: 163.6 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.003918, allocations: 16.16 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.004024, allocations: 115.8 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.004188, allocations: 239.6 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.004202, allocations: 4 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.004256, allocations: 20 kB / 443.1 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.004333, allocations: 87.69 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.004363, allocations: 35.75 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004554, allocations: 239 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004557, allocations: 4 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004558, allocations: 0 / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004562, allocations: 0 / 443.5 MB, free: 316 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.1655/0.1701, allocations: 0.5656 MB / 444.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1701, allocations: 7.969 kB / 444.1 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.1701, allocations: 39.84 kB / 444.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1702, allocations: 45.72 kB / 444.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1704, allocations: 240.5 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1704, allocations: 3.688 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1704, allocations: 1.125 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1705, allocations: 50.23 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1705, allocations: 0 / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1705, allocations: 3.125 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1705, allocations: 6.781 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.1706, allocations: 20.53 kB / 444.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.1709, allocations: 342 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.171, allocations: 33.47 kB / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.171, allocations: 21.77 kB / 444.9 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.171, allocations: 0.625 kB / 444.9 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.171, allocations: 33.81 kB / 444.9 MB, free: 45.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.171, allocations: 0 / 444.9 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.1712, allocations: 102.7 kB / 445 MB, free: 45.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.1712, allocations: 58.72 kB / 445 MB, free: 45.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.1717, allocations: 0.8735 MB / 445.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.1717, allocations: 25.7 kB / 445.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.1718, allocations: 225.9 kB / 446.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.1718, allocations: 3.953 kB / 446.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1718, allocations: 12.62 kB / 446.2 MB, free: 45.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.1719, allocations: 365.8 kB / 446.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.1719, allocations: 6.188 kB / 446.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.1719, allocations: 13.28 kB / 446.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.172, allocations: 20.69 kB / 446.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.172, allocations: 0 / 446.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.439e-05/0.172, allocations: 102.1 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.172, allocations: 11.59 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.172, allocations: 3.234 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1721, allocations: 0 / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.1721, allocations: 2.906 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1721, allocations: 4.312 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.1721, allocations: 9.297 kB / 446.7 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1722, allocations: 6.219 kB / 446.7 MB, free: 45.01 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 (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 9.195e-05/0.1722, allocations: 206.7 kB / 446.9 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1723, allocations: 48.38 kB / 447 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1724, allocations: 110 kB / 447.1 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1724, allocations: 0 / 447.1 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1724, allocations: 0 / 447.1 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1724, allocations: 2.875 kB / 447.1 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1725, allocations: 253.5 kB / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1725, allocations: 3.938 kB / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.1726, allocations: 7.703 kB / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1726, allocations: 0 / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.1726, allocations: 4.562 kB / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1726, allocations: 0 / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1726, allocations: 0 / 447.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/0.1726, allocations: 188.3 kB / 447.5 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.1727, allocations: 42.72 kB / 447.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1727, allocations: 7.078 kB / 447.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.1727, allocations: 2.938 kB / 447.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.1727, allocations: 0 / 447.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.1727, allocations: 2.906 kB / 447.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.173, allocations: 0.656 MB / 448.2 MB, free: 44.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.173, allocations: 2.906 kB / 448.2 MB, free: 44.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.1732, allocations: 23.97 kB / 448.3 MB, free: 44.16 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 (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.000713/0.1739, allocations: 0.988 MB / 449.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.174, allocations: 29.03 kB / 449.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.174, allocations: 3.938 kB / 449.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.174, allocations: 9.125 kB / 449.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1744, allocations: 23.28 kB / 449.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1761, allocations: 3.159 MB / 452.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1762, allocations: 218.7 kB / 452.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.728e-05/0.1762, allocations: 9.531 kB / 452.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1763, allocations: 111 kB / 452.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1763, allocations: 3.828 kB / 452.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.1926, allocations: 6.415 MB / 459.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.034, allocations: 7.188 kB / 459.2 MB, free: 39.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.962636530399323]