Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0008612/0.0008612, 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.0009198/0.0009198, 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.8871/0.8871, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2264/0.2264, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.239e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.1646/0.1646, allocations: 1.664 MB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.1654, allocations: 0.5383 MB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.1654, allocations: 2.5 kB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.1658, allocations: 454.7 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1661, allocations: 299.8 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1664, allocations: 129.6 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1665, allocations: 178.9 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.1666, allocations: 19.39 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.1667, allocations: 114.8 kB / 445.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1668, allocations: 246.1 kB / 445.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1669, allocations: 2.656 kB / 445.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.1669, allocations: 53.19 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.167, allocations: 87.89 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.167, allocations: 41.59 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1672, allocations: 259.9 kB / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1672, allocations: 0 / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1673, allocations: 0 / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1673, allocations: 2.875 kB / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004276/0.1677, allocations: 0.5867 MB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1677, allocations: 11.34 kB / 446.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/0.1677, allocations: 37.88 kB / 446.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1678, allocations: 47.83 kB / 446.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1679, allocations: 251 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1679, allocations: 15.05 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.168, allocations: 3.094 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1681, allocations: 57.81 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1681, allocations: 192 / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1681, allocations: 7.938 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1681, allocations: 0 / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.1681, allocations: 31.36 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.1684, allocations: 367.2 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.147e-05/0.1685, allocations: 35.94 kB / 447.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1685, allocations: 24.81 kB / 447.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1686, allocations: 0 / 447.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.1686, allocations: 33.47 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1686, allocations: 0 / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005854/0.1692, allocations: 312.9 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1692, allocations: 54.69 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.1696, allocations: 0.87 MB / 449 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.1697, allocations: 25.7 kB / 449 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.1697, allocations: 235.4 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1698, allocations: 27.77 kB / 449.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1698, allocations: 25.41 kB / 449.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.1698, allocations: 363.9 kB / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1699, allocations: 25.88 kB / 449.7 MB, free: 41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1699, allocations: 24.91 kB / 449.7 MB, free: 40.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.17, allocations: 64.11 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.17, allocations: 3.938 kB / 449.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001286/0.1701, allocations: 136 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1702, allocations: 5.781 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1702, allocations: 3.938 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1702, allocations: 3.422 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.1702, allocations: 18.14 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1702, allocations: 0 / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.1703, allocations: 13.34 kB / 449.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1703, allocations: 4 kB / 449.9 MB, free: 40.88 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 (8): * Single equations (assignments): 8 * 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.0001016/0.1704, allocations: 216.9 kB / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1704, allocations: 51.92 kB / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1706, allocations: 166.1 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1706, allocations: 0 / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1706, allocations: 1.312 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1706, allocations: 0 / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1709, allocations: 476.4 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1709, allocations: 4.031 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.171, allocations: 20.61 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.171, allocations: 0 / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.171, allocations: 6.5 kB / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.171, allocations: 0 / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.171, allocations: 3.938 kB / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1711, allocations: 247.7 kB / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.1711, allocations: 38.81 kB / 451.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1712, allocations: 3.938 kB / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.1712, allocations: 13.06 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1712, allocations: 10.34 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1712, allocations: 2.719 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.1716, allocations: 0.6561 MB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1716, allocations: 0 / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.1717, allocations: 29.25 kB / 451.9 MB, free: 39.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009804/0.1727, allocations: 1.159 MB / 453 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1729, allocations: 65.31 kB / 453.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1729, allocations: 3.938 kB / 453.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.1729, allocations: 38.89 kB / 453.1 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1732, allocations: 32.45 kB / 453.2 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1754, allocations: 3.332 MB / 456.5 MB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.1755, allocations: 220.6 kB / 456.7 MB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.1756, allocations: 21.27 kB / 456.7 MB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.1757, allocations: 110.1 kB / 456.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1757, allocations: 3.938 kB / 456.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.1916, allocations: 7.05 MB / 463.9 MB, free: 35.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/6.868, allocations: 3.938 kB / 463.9 MB, free: 35.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.779772062785923]