Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001135/0.001135, allocations: 79.7 kB / 20.67 MB, free: 3.883 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.001696/0.001696, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9363/0.9363, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2561/0.2561, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.372e-05, allocations: 8.25 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00223/0.002254, allocations: 1.643 MB / 441.2 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.00294, allocations: 0.5413 MB / 441.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.002996, allocations: 0 / 441.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.003417, allocations: 451 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.003806, allocations: 295.2 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.004082, allocations: 131.2 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.00428, allocations: 171.6 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.004378, allocations: 11.98 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004485, allocations: 119.8 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.004671, allocations: 243.6 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004685, allocations: 0 / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.004761, allocations: 43.91 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.004846, allocations: 79.66 kB / 443.3 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.004881, allocations: 39.73 kB / 443.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.005098, allocations: 247.1 kB / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0051, allocations: 3.938 kB / 443.6 MB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005101, allocations: 0 / 443.6 MB, free: 252 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005106, allocations: 0 / 443.6 MB, free: 252 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.1633/0.1684, allocations: 0.5828 MB / 444.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1684, allocations: 8.781 kB / 444.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.1685, allocations: 34.97 kB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1685, allocations: 46.8 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1687, allocations: 249.7 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1687, allocations: 1.562 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1688, allocations: 4.188 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1689, allocations: 50.53 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1689, allocations: 5.094 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1689, allocations: 3.656 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1689, allocations: 7.547 kB / 444.6 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.169, allocations: 24.72 kB / 444.6 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1693, allocations: 350.5 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1696, allocations: 46.98 kB / 445 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.1696, allocations: 19.2 kB / 445 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1696, allocations: 0 / 445 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.1696, allocations: 35.16 kB / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1696, allocations: 0 / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004583/0.1701, allocations: 236.5 kB / 445.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1701, allocations: 51.41 kB / 445.3 MB, free: 45.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.1706, allocations: 0.8724 MB / 446.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.1706, allocations: 27.8 kB / 446.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.1707, allocations: 227.2 kB / 446.4 MB, free: 45.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1707, allocations: 20.7 kB / 446.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1708, allocations: 21.14 kB / 446.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.1708, allocations: 361.4 kB / 446.8 MB, free: 45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.1708, allocations: 21.81 kB / 446.9 MB, free: 44.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.1709, allocations: 20.66 kB / 446.9 MB, free: 44.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.1709, allocations: 54.05 kB / 446.9 MB, free: 44.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1709, allocations: 2.906 kB / 446.9 MB, free: 44.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.171, allocations: 115.5 kB / 447 MB, free: 44.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1711, allocations: 3.125 kB / 447 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1711, allocations: 6.312 kB / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1711, allocations: 0 / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.1711, allocations: 18.66 kB / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1711, allocations: 0 / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.1712, allocations: 5.188 kB / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1712, allocations: 0 / 447.1 MB, free: 44.9 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 0.0001011/0.1713, allocations: 219.2 kB / 447.3 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1713, allocations: 48.67 kB / 447.3 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.1715, allocations: 138.8 kB / 447.5 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1715, allocations: 0 / 447.5 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1715, allocations: 2.781 kB / 447.5 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1715, allocations: 0 / 447.5 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.1718, allocations: 425.3 kB / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1718, allocations: 4.438 kB / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1718, allocations: 14.14 kB / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1718, allocations: 0 / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1718, allocations: 2.75 kB / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1718, allocations: 6.484 kB / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1718, allocations: 0 / 447.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1719, allocations: 220.6 kB / 448.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.1719, allocations: 42.45 kB / 448.2 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1719, allocations: 4 kB / 448.2 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.172, allocations: 5.984 kB / 448.2 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.172, allocations: 8.125 kB / 448.2 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.172, allocations: 3.125 kB / 448.2 MB, free: 44.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.1723, allocations: 0.6601 MB / 448.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 0 / 448.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.1725, allocations: 25.94 kB / 448.9 MB, free: 43.89 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.0009434/0.1735, allocations: 1.074 MB / 450 MB, free: 43.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1736, allocations: 44.97 kB / 450 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1736, allocations: 2.906 kB / 450 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.1736, allocations: 24.84 kB / 450 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.174, allocations: 23.36 kB / 450 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.176, allocations: 3.254 MB / 453.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.1761, allocations: 220.6 kB / 453.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.1762, allocations: 11.91 kB / 453.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1763, allocations: 107.8 kB / 453.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1763, allocations: 0 / 453.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1943, allocations: 6.736 MB / 460.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.886, allocations: 3.188 kB / 460.4 MB, free: 39.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.935281394049525]