Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.0007812/0.0007812, allocations: 79.69 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.0008096/0.0008096, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8801/0.8801, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2234/0.2234, allocations: 34.26 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.04e-05, allocations: 7.062 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002125/0.002145, allocations: 1.667 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.1828, allocations: 0.6275 MB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.1829, allocations: 6.906 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.1829, allocations: 11.16 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.183, allocations: 15.31 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1833, allocations: 153.1 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1834, allocations: 158.2 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1835, allocations: 23.48 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1837, allocations: 102.7 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.1837, allocations: 45.36 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1838, allocations: 14.69 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1838, allocations: 22.14 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.1838, allocations: 36.23 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.1838, allocations: 38.47 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.184, allocations: 151.1 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.184, allocations: 0 / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.184, allocations: 0 / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.184, allocations: 0 / 445.2 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004101/0.1844, allocations: 390.1 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1844, allocations: 12 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.1845, allocations: 44.73 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1846, allocations: 24.14 kB / 445.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1848, allocations: 167.2 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1848, allocations: 6.344 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1848, allocations: 5.719 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.1851, allocations: 325.5 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1851, allocations: 0.8125 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1851, allocations: 14.09 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1851, allocations: 2.969 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1853, allocations: 118.3 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1857, allocations: 406.1 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.186, allocations: 189 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1861, allocations: 72.7 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1862, allocations: 5.375 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.1862, allocations: 44.17 kB / 447 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.1862, allocations: 0 / 447 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007509/0.1869, allocations: 498 kB / 447.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1869, allocations: 102.8 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.187, allocations: 166.4 kB / 447.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.187, allocations: 25.7 kB / 447.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1871, allocations: 116.7 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1871, allocations: 36.28 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1871, allocations: 29.78 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.58e-05/0.1871, allocations: 320.6 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1872, allocations: 72.31 kB / 448.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1873, allocations: 150.1 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1875, allocations: 138.4 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1875, allocations: 0 / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002245/0.1878, allocations: 186.4 kB / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.1878, allocations: 5.75 kB / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1878, allocations: 0 / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1878, allocations: 0 / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1879, allocations: 39.44 kB / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1879, allocations: 2.062 kB / 448.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.188, allocations: 30.59 kB / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.188, allocations: 4 kB / 448.9 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.688e-05/0.188, allocations: 118.8 kB / 449 MB, free: 40.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.994e-05/0.1881, allocations: 112.2 kB / 449.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.273e-05/0.1882, allocations: 78.39 kB / 449.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.01e-07/0.1882, allocations: 4.5 kB / 449.2 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001131/0.1883, allocations: 128.2 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-06/0.1883, allocations: 2.812 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.1883, allocations: 2.938 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-06/0.1883, allocations: 0 / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.1883, allocations: 23.52 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.1883, allocations: 4 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.1884, allocations: 11.62 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.1884, allocations: 10.84 kB / 449.4 MB, free: 40.51 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 (10): * Single equations (assignments): 10 * 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.58e-05/0.1884, allocations: 187 kB / 449.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1884, allocations: 9.703 kB / 449.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.1885, allocations: 22.44 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1885, allocations: 2.875 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1885, allocations: 0 / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1885, allocations: 3.938 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1889, allocations: 472.5 kB / 450 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1889, allocations: 2.906 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.189, allocations: 37.81 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.189, allocations: 2.844 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.189, allocations: 3.938 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.189, allocations: 2.969 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.189, allocations: 0 / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1893, allocations: 355.4 kB / 450.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.1894, allocations: 13.81 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1894, allocations: 7.938 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1895, allocations: 42.81 kB / 450.5 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1895, allocations: 6.266 kB / 450.5 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1895, allocations: 9.844 kB / 450.5 MB, free: 39.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.056e-05/0.1896, allocations: 126.5 kB / 450.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 450.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.1898, allocations: 32.59 kB / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0004207/0.1902, allocations: 0.8939 MB / 451.6 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.1905, allocations: 193 kB / 451.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1905, allocations: 3.938 kB / 451.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1906, allocations: 76.5 kB / 451.8 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1908, allocations: 38.41 kB / 451.9 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1921, allocations: 1.93 MB / 453.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.1922, allocations: 97.41 kB / 453.9 MB, free: 37.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.1922, allocations: 21.62 kB / 453.9 MB, free: 37.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1923, allocations: 43.25 kB / 454 MB, free: 37.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1923, allocations: 0 / 454 MB, free: 37.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.2071, allocations: 4.785 MB / 458.8 MB, free: 36.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.963, allocations: 6.359 kB / 458.8 MB, free: 36.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.868752502836287]