Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008244/0.0008244, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008823/0.0008823, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9393/0.9393, allocations: 177 MB / 204.1 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2631/0.2631, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.259e-05, allocations: 2.281 kB / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.1828/0.1828, allocations: 1.609 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.1835, allocations: 0.5322 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.1836, allocations: 0 / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1838, allocations: 114.1 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1841, allocations: 126.5 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1844, allocations: 116.5 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1845, allocations: 90 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.1846, allocations: 10.92 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1847, allocations: 58.36 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1848, allocations: 68.61 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1848, allocations: 2.812 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.1848, allocations: 45.14 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.1849, allocations: 27.78 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1849, allocations: 18.25 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1851, allocations: 114.5 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1851, allocations: 1.75 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1851, allocations: 0 / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1851, allocations: 0 / 445.1 MB, free: 43.1 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.000344/0.1854, allocations: 356.8 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1855, allocations: 9.094 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.244e-05/0.1855, allocations: 36.45 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1855, allocations: 14.88 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1856, allocations: 151.7 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.1856, allocations: 3.812 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1857, allocations: 7.156 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1858, allocations: 52.12 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-06/0.1858, allocations: 192 / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1858, allocations: 2.875 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1858, allocations: 4.125 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.1858, allocations: 33.23 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.1861, allocations: 268.6 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.1862, allocations: 48.05 kB / 446.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.1862, allocations: 18.14 kB / 446.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1862, allocations: 0 / 446.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.1862, allocations: 41.7 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.1862, allocations: 6.125 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.1868, allocations: 249.4 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.1868, allocations: 51.41 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1869, allocations: 257.6 kB / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.1869, allocations: 28.45 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.187, allocations: 107.9 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.187, allocations: 32.38 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.187, allocations: 22.72 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.201e-05/0.187, allocations: 327.1 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.1871, allocations: 30.45 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.1871, allocations: 29.91 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.1872, allocations: 81.3 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1872, allocations: 0 / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.1873, allocations: 117.3 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1873, allocations: 2.781 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1873, allocations: 2.969 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1874, allocations: 0 / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.1874, allocations: 24.14 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1874, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.1874, allocations: 2.938 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1874, allocations: 10.06 kB / 447.5 MB, free: 41.48 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 4.988e-05/0.1875, allocations: 137.5 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1875, allocations: 13.91 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1877, allocations: 135.9 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1877, allocations: 2.812 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1877, allocations: 0 / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1877, allocations: 0 / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.188, allocations: 393.7 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.188, allocations: 0 / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.188, allocations: 19.98 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.188, allocations: 2.844 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.188, allocations: 3.312 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.188, allocations: 0 / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.188, allocations: 6.844 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1881, allocations: 218.3 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.1881, allocations: 14.72 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1881, allocations: 6.5 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.1882, allocations: 6.172 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.1882, allocations: 6.875 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1882, allocations: 6.172 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.1883, allocations: 189.4 kB / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1883, allocations: 0 / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.1885, allocations: 20.91 kB / 448.6 MB, free: 40.78 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.0008875/0.1894, allocations: 1.127 MB / 449.8 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1895, allocations: 74.19 kB / 449.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1895, allocations: 4 kB / 449.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.1895, allocations: 37.39 kB / 449.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1898, allocations: 23.41 kB / 449.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1909, allocations: 1.812 MB / 451.7 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.1909, allocations: 102 kB / 451.8 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.191, allocations: 22.97 kB / 451.8 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.191, allocations: 41.53 kB / 451.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.191, allocations: 2.875 kB / 451.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2081, allocations: 4.022 MB / 455.9 MB, free: 37.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.89, allocations: 8.797 kB / 455.9 MB, free: 37.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.963435200043023]