Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001142/0.001142, 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.001266/0.001266, 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.8949/0.8949, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2407/0.2407, allocations: 32.8 MB / 293.5 MB, free: 1.227 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.106e-05, allocations: 6.281 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002832/0.002853, allocations: 1.991 MB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.004182, allocations: 1.094 MB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.004299, allocations: 4 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.004685, allocations: 259 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.005219, allocations: 270.9 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1729/0.1781, allocations: 0.6612 MB / 443.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.1787, allocations: 365 kB / 444.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1789, allocations: 48.62 kB / 444.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.1792, allocations: 185.9 kB / 444.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1794, allocations: 201.6 kB / 444.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1794, allocations: 10.91 kB / 444.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1795, allocations: 74.91 kB / 444.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1796, allocations: 104.1 kB / 444.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1797, allocations: 69.19 kB / 444.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.18, allocations: 341.8 kB / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.18, allocations: 2.625 kB / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.18, allocations: 0 / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1801, allocations: 3 kB / 445.2 MB, free: 43.45 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006588/0.1807, allocations: 0.6357 MB / 445.9 MB, free: 43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1808, allocations: 10.94 kB / 445.9 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1808, allocations: 43.48 kB / 445.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.1809, allocations: 46.31 kB / 446 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1812, allocations: 283.8 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1812, allocations: 13.64 kB / 446.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1812, allocations: 15.25 kB / 446.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1814, allocations: 119.9 kB / 446.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1814, allocations: 4.328 kB / 446.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1814, allocations: 10.73 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1814, allocations: 2.781 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1816, allocations: 94.41 kB / 446.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.1821, allocations: 482.9 kB / 447 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1822, allocations: 107.4 kB / 447.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.1823, allocations: 35.28 kB / 447.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1823, allocations: 0 / 447.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.1823, allocations: 43.5 kB / 447.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1823, allocations: 224 / 447.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006618/0.183, allocations: 466.5 kB / 447.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.183, allocations: 54.16 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.1834, allocations: 0.5986 MB / 448.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1834, allocations: 28.67 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.1835, allocations: 217.1 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1835, allocations: 59.08 kB / 448.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1835, allocations: 34.3 kB / 448.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.1836, allocations: 357.9 kB / 448.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1837, allocations: 66.36 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.1838, allocations: 73.31 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1839, allocations: 159.5 kB / 449.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1839, allocations: 0 / 449.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002432/0.1842, allocations: 241.8 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1842, allocations: 6.375 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1842, allocations: 0 / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1842, allocations: 4.625 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1843, allocations: 40.53 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1843, allocations: 2.875 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1844, allocations: 5.625 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1844, allocations: 8.828 kB / 449.5 MB, free: 41.43 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 (17): * Single equations (assignments): 17 * 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.0001121/0.1845, allocations: 177 kB / 449.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.1846, allocations: 47.34 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.1849, allocations: 290.7 kB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1849, allocations: 6 kB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.185, allocations: 0 / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.185, allocations: 0 / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.1855, allocations: 0.6388 MB / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1855, allocations: 0 / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1856, allocations: 32.27 kB / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1856, allocations: 8.531 kB / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1856, allocations: 9.625 kB / 450.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1856, allocations: 0 / 450.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1856, allocations: 0 / 450.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1858, allocations: 337.5 kB / 451.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.1859, allocations: 49.94 kB / 451.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1859, allocations: 1.375 kB / 451.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.1859, allocations: 15.23 kB / 451.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.186, allocations: 6.391 kB / 451.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.186, allocations: 12.84 kB / 451.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1862, allocations: 449.8 kB / 451.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1862, allocations: 3.562 kB / 451.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.1864, allocations: 58 kB / 451.6 MB, free: 40.3 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 (17): * Single equations (assignments): 17 * 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.001497/0.1879, allocations: 1.527 MB / 453.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1882, allocations: 166.2 kB / 453.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1882, allocations: 0 / 453.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.1883, allocations: 83.62 kB / 453.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.1888, allocations: 91.92 kB / 453.5 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1917, allocations: 3.359 MB / 456.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1918, allocations: 227.4 kB / 457.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1919, allocations: 68.97 kB / 457.2 MB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1921, allocations: 140.4 kB / 457.3 MB, free: 37.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.465e-06/0.1921, allocations: 0 / 457.3 MB, free: 37.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.2143, allocations: 8.714 MB / 466 MB, free: 35.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.063, allocations: 4 kB / 466 MB, free: 35.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 9.06275749951601]