Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.0008294/0.0008294, 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.0008977/0.0008977, 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.8823/0.8823, 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.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.2304/0.2304, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.289e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002491/0.002514, allocations: 1.617 MB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1803/0.1828, allocations: 0.5282 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.1829, allocations: 0 / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1832, allocations: 83.8 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.1835, allocations: 106.2 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1837, allocations: 113.8 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1838, allocations: 87 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1839, allocations: 15.08 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.184, allocations: 46.84 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.1841, allocations: 56.14 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1841, allocations: 4.125 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.1842, allocations: 51.75 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1842, allocations: 19.5 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1843, allocations: 16.38 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1844, allocations: 101.3 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1844, allocations: 2.844 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1844, allocations: 1.812 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1844, allocations: 3.938 kB / 445 MB, free: 43.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003346/0.1848, allocations: 334.7 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1848, allocations: 10.91 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.1848, allocations: 37.89 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.1849, allocations: 14.16 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.185, allocations: 140.8 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.185, allocations: 3.719 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.185, allocations: 6.875 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1851, allocations: 53.55 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1851, allocations: 9.172 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1851, allocations: 3.938 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1851, allocations: 7 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.1852, allocations: 30.8 kB / 445.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.1855, allocations: 266.5 kB / 445.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.1855, allocations: 48.33 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.1856, allocations: 20.09 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1856, allocations: 0 / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.1856, allocations: 33.44 kB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1856, allocations: 3.312 kB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000583/0.1862, allocations: 242.2 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1862, allocations: 54.09 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1863, allocations: 216.2 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.1863, allocations: 25.7 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1864, allocations: 113.3 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1864, allocations: 21.53 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1864, allocations: 18.94 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.1865, allocations: 331.1 kB / 447 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.1865, allocations: 31.42 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.1866, allocations: 31.83 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.1867, allocations: 72.81 kB / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1867, allocations: 0 / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001234/0.1868, allocations: 116.7 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1868, allocations: 5.844 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1868, allocations: 4.781 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1868, allocations: 2.812 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.1869, allocations: 20.47 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1869, allocations: 0 / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.1869, allocations: 6.906 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1869, allocations: 2.844 kB / 447.3 MB, free: 41.52 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 5.565e-05/0.187, allocations: 136.9 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.187, allocations: 13.56 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1872, allocations: 135.1 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1872, allocations: 0 / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1872, allocations: 0 / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1872, allocations: 0 / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1875, allocations: 385.4 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1875, allocations: 4.625 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.1876, allocations: 15.14 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1876, allocations: 2.938 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.1876, allocations: 7.969 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1876, allocations: 3.938 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1876, allocations: 2.656 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1877, allocations: 218.5 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.1877, allocations: 10.83 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1877, allocations: 6.25 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.1877, allocations: 10.19 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1878, allocations: 6.125 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1878, allocations: 6 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.1879, allocations: 162.6 kB / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1879, allocations: 0 / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000163/0.188, allocations: 22.39 kB / 448.5 MB, free: 40.83 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.000922/0.1889, allocations: 1.125 MB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1891, allocations: 78.61 kB / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1891, allocations: 0 / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.1891, allocations: 37.61 kB / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1894, allocations: 23.12 kB / 449.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1904, allocations: 1.731 MB / 451.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.1905, allocations: 97.89 kB / 451.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.1906, allocations: 20.92 kB / 451.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1906, allocations: 40.92 kB / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1906, allocations: 0 / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.2057, allocations: 3.862 MB / 455.5 MB, free: 37.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.646, allocations: 6.031 kB / 455.5 MB, free: 37.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.5551096200943]