Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009604/0.0009604, allocations: 79.7 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.001133/0.001133, 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.9081/0.9081, allocations: 177.1 MB / 204.2 MB, free: 5.723 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.259/0.259, allocations: 32.8 MB / 293.5 MB, free: 1.234 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.386e-05, allocations: 12.25 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002154/0.002178, allocations: 1.666 MB / 441.2 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009098/0.003088, allocations: 0.6271 MB / 441.9 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.003175, allocations: 4 kB / 441.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.003209, allocations: 11.81 kB / 441.9 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.003306, allocations: 19.8 kB / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.003697, allocations: 156.1 kB / 442 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.003855, allocations: 159.6 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003968, allocations: 21.3 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.004136, allocations: 99.78 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.004217, allocations: 51.8 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.004239, allocations: 12 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.004286, allocations: 19.94 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.004311, allocations: 31.91 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.004349, allocations: 47.89 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.004522, allocations: 147.6 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004524, allocations: 0 / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004525, allocations: 0 / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004529, allocations: 8 kB / 442.6 MB, free: 1.188 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.0004918/0.005021, allocations: 381.6 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.005063, allocations: 8.031 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.005101, allocations: 42.73 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.005219, allocations: 28.83 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.005469, allocations: 156.6 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.005481, allocations: 8.375 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.005507, allocations: 12.38 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.005824, allocations: 329.2 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005835, allocations: 192 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.005852, allocations: 12.12 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005858, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.006076, allocations: 123.9 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1806/0.1866, allocations: 391.9 kB / 444.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.187, allocations: 192.8 kB / 444.3 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1871, allocations: 74.02 kB / 444.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1871, allocations: 1.969 kB / 444.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.1871, allocations: 34.53 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.1871, allocations: 1.5 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008274/0.1879, allocations: 0.4947 MB / 444.9 MB, free: 46.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.188, allocations: 102.8 kB / 445 MB, free: 46.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.188, allocations: 157.2 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1881, allocations: 35.05 kB / 445.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1881, allocations: 112.5 kB / 445.3 MB, free: 45.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1881, allocations: 29.59 kB / 445.3 MB, free: 45.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1881, allocations: 35.42 kB / 445.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.1882, allocations: 329.8 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1883, allocations: 72.52 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1884, allocations: 148 kB / 445.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1886, allocations: 139.4 kB / 446 MB, free: 45.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1886, allocations: 0 / 446 MB, free: 45.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002331/0.1888, allocations: 194.6 kB / 446.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1889, allocations: 5.062 kB / 446.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1889, allocations: 3.203 kB / 446.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1889, allocations: 1.531 kB / 446.2 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.189, allocations: 35.08 kB / 446.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.189, allocations: 32 / 446.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.1891, allocations: 28.88 kB / 446.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1891, allocations: 10.31 kB / 446.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.575e-05/0.1891, allocations: 120.6 kB / 446.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.958e-05/0.1892, allocations: 113.3 kB / 446.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.508e-05/0.1893, allocations: 71.8 kB / 446.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-07/0.1893, allocations: 4.031 kB / 446.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001198/0.1894, allocations: 125.2 kB / 446.7 MB, free: 45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.1894, allocations: 5.344 kB / 446.7 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-06/0.1894, allocations: 2.25 kB / 446.7 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-06/0.1894, allocations: 0 / 446.7 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.1894, allocations: 23.8 kB / 446.8 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.1894, allocations: 0 / 446.8 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1895, allocations: 16.09 kB / 446.8 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.1895, allocations: 2.906 kB / 446.8 MB, free: 44.99 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.729e-05/0.1895, allocations: 186.9 kB / 447 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.1896, allocations: 19.64 kB / 447 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.1896, allocations: 16.5 kB / 447 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1896, allocations: 2.734 kB / 447 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1896, allocations: 0 / 447 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1896, allocations: 0 / 447 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.1901, allocations: 478.7 kB / 447.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1901, allocations: 0 / 447.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.1902, allocations: 36.88 kB / 447.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1902, allocations: 0 / 447.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1902, allocations: 6.688 kB / 447.5 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1902, allocations: 3.938 kB / 447.5 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1902, allocations: 0 / 447.5 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1905, allocations: 357.4 kB / 447.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.1905, allocations: 10.84 kB / 447.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1906, allocations: 6.875 kB / 447.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1907, allocations: 40.38 kB / 447.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.1907, allocations: 8.922 kB / 447.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1907, allocations: 18.2 kB / 447.9 MB, free: 44.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.1908, allocations: 122.7 kB / 448.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1908, allocations: 0 / 448.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.191, allocations: 33.12 kB / 448.1 MB, free: 44.14 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.0004489/0.1914, allocations: 0.8806 MB / 449 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1917, allocations: 191.7 kB / 449.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1917, allocations: 0 / 449.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1918, allocations: 74.19 kB / 449.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1921, allocations: 41.56 kB / 449.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1935, allocations: 1.942 MB / 451.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.1935, allocations: 100.1 kB / 451.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.1936, allocations: 21.58 kB / 451.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1936, allocations: 40.34 kB / 451.4 MB, free: 41.87 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1936, allocations: 0 / 451.4 MB, free: 41.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2109, allocations: 4.8 MB / 456.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.936, allocations: 2.812 kB / 456.2 MB, free: 40.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.953443044796586]