Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001039/0.001039, 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.001019/0.001019, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9017/0.9017, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2538/0.2538, allocations: 32.78 MB / 293.5 MB, free: 1.203 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.092e-05, allocations: 8.609 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002233/0.002254, allocations: 1.651 MB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.003021, allocations: 0.5452 MB / 441.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.003071, allocations: 0 / 441.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.003481, allocations: 451.1 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.003864, allocations: 299.1 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.004137, allocations: 135.3 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.004337, allocations: 171.6 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.004432, allocations: 16 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004548, allocations: 123.7 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.004732, allocations: 239.6 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004748, allocations: 4 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.004856, allocations: 43.91 kB / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.004945, allocations: 79.72 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004981, allocations: 43.73 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005192, allocations: 247 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005195, allocations: 7.938 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005196, allocations: 0 / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0052, allocations: 4 kB / 443.6 MB, free: 192 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.1656/0.1708, allocations: 0.5871 MB / 444.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1709, allocations: 8.938 kB / 444.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.289e-05/0.1709, allocations: 32.69 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1709, allocations: 44.16 kB / 444.3 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1711, allocations: 250.8 kB / 444.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1711, allocations: 3.969 kB / 444.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1711, allocations: 1.75 kB / 444.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1712, allocations: 60.95 kB / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1712, allocations: 3.375 kB / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1713, allocations: 0.625 kB / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1713, allocations: 0 / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.1713, allocations: 42.31 kB / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.1716, allocations: 354.7 kB / 445 MB, free: 45.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/0.1717, allocations: 41.52 kB / 445 MB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.1717, allocations: 22.69 kB / 445.1 MB, free: 45.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1717, allocations: 6.125 kB / 445.1 MB, free: 45.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.1718, allocations: 32.53 kB / 445.1 MB, free: 45.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.1718, allocations: 1.406 kB / 445.1 MB, free: 45.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004817/0.1722, allocations: 300.3 kB / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.1723, allocations: 56.81 kB / 445.4 MB, free: 45.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.1727, allocations: 0.875 MB / 446.3 MB, free: 45.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.1727, allocations: 27.11 kB / 446.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.1728, allocations: 217.8 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.1728, allocations: 24.81 kB / 446.6 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.1728, allocations: 20.97 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.1728, allocations: 367.1 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.1729, allocations: 29.36 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.173, allocations: 33.52 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1731, allocations: 79.05 kB / 447.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1731, allocations: 0 / 447.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.1732, allocations: 151 kB / 447.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1732, allocations: 5.5 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1732, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1732, allocations: 10.78 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.1733, allocations: 24.91 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1733, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.1733, allocations: 12.56 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1733, allocations: 2.531 kB / 447.3 MB, free: 44.63 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 (7): * Single equations (assignments): 7 * 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.369e-05/0.1734, allocations: 214.3 kB / 447.5 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1735, allocations: 46.81 kB / 447.6 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1737, allocations: 171.7 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1737, allocations: 3.188 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1737, allocations: 0 / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1737, allocations: 3.938 kB / 447.7 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.174, allocations: 460.6 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.174, allocations: 3.328 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.174, allocations: 24.55 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.174, allocations: 0 / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.174, allocations: 7.781 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.174, allocations: 0 / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.174, allocations: 2.875 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1742, allocations: 252.7 kB / 448.5 MB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.1742, allocations: 32.12 kB / 448.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1742, allocations: 6.719 kB / 448.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.1743, allocations: 15.23 kB / 448.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1743, allocations: 8.297 kB / 448.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1743, allocations: 3.281 kB / 448.5 MB, free: 43.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002995/0.1746, allocations: 0.6596 MB / 449.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1746, allocations: 0 / 449.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.1748, allocations: 25.66 kB / 449.2 MB, free: 43.66 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 (7): * Single equations (assignments): 7 * 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.0008098/0.1756, allocations: 1.109 MB / 450.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1757, allocations: 79.23 kB / 450.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1757, allocations: 0 / 450.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.1758, allocations: 44.09 kB / 450.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1761, allocations: 29.92 kB / 450.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.178, allocations: 3.322 MB / 453.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.1781, allocations: 226 kB / 454 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.1781, allocations: 14.44 kB / 454 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.1782, allocations: 104.7 kB / 454.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1782, allocations: 0 / 454.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.1952, allocations: 6.86 MB / 461 MB, free: 39.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.923, allocations: 13.31 kB / 461 MB, free: 39.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.933241469785571]