Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.0007597/0.0007597, 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.0009035/0.0009035, allocations: 156.9 kB / 23.95 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.9265/0.9265, allocations: 177 MB / 204.1 MB, free: 5.754 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.2487/0.2487, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.736e-05, allocations: 12.27 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.1839/0.1839, allocations: 1.65 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.185, allocations: 0.6302 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.185, allocations: 6.969 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.1851, allocations: 10.53 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.1852, allocations: 27.86 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1855, allocations: 149.8 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1857, allocations: 155.8 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1858, allocations: 24.53 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1859, allocations: 97.19 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.186, allocations: 47.95 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.186, allocations: 13.34 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.1861, allocations: 20.03 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1861, allocations: 38.05 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.1861, allocations: 44 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1863, allocations: 155.4 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1863, allocations: 1.406 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1863, allocations: 0 / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1863, 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.0004284/0.1867, allocations: 381 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1868, allocations: 8.5 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.1868, allocations: 40.47 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1869, allocations: 26.36 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1872, allocations: 169.4 kB / 445.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1872, allocations: 8.938 kB / 445.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1872, allocations: 9.281 kB / 445.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1875, allocations: 328.5 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1875, allocations: 1.031 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1875, allocations: 10.94 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1875, allocations: 2.906 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1877, allocations: 119 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1882, allocations: 399.2 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1885, allocations: 184.2 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1886, allocations: 71.48 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1886, allocations: 3.938 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.1886, allocations: 40.02 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.1886, allocations: 1.406 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008226/0.1894, allocations: 0.4894 MB / 447.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1895, allocations: 105.8 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1895, allocations: 158.8 kB / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1896, allocations: 32.55 kB / 447.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1896, allocations: 106.3 kB / 447.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1896, allocations: 43.08 kB / 447.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1896, allocations: 35.27 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.1897, allocations: 321 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1898, allocations: 76.48 kB / 448.3 MB, free: 41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1899, allocations: 145.9 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1901, allocations: 142.2 kB / 448.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1901, allocations: 0 / 448.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.1904, allocations: 186 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1904, allocations: 5.656 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1904, allocations: 0 / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1904, allocations: 2.688 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1905, allocations: 40.06 kB / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1905, allocations: 0 / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.1906, allocations: 36 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1906, allocations: 5.312 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.779e-05/0.1907, allocations: 120.7 kB / 449 MB, free: 40.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.003e-05/0.1907, allocations: 106.1 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.848e-05/0.1908, allocations: 77.42 kB / 449.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-07/0.1908, allocations: 2.844 kB / 449.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001255/0.1909, allocations: 121.3 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.1909, allocations: 5.906 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.61e-07/0.1909, allocations: 3.938 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-06/0.1909, allocations: 0 / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.191, allocations: 24.59 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.191, allocations: 0 / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.191, allocations: 19.34 kB / 449.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.191, allocations: 10.84 kB / 449.4 MB, free: 40.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 (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 5.071e-05/0.1911, allocations: 184.5 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1911, allocations: 9.797 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1911, allocations: 12.34 kB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1912, allocations: 9.859 kB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1912, allocations: 0 / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1912, allocations: 3.938 kB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1916, allocations: 471.8 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1916, allocations: 0 / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.1917, allocations: 37.5 kB / 450.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1917, allocations: 2.75 kB / 450.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1917, allocations: 9.906 kB / 450.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1917, allocations: 6.781 kB / 450.1 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1917, allocations: 0 / 450.1 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.1921, allocations: 357.6 kB / 450.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.1921, allocations: 17.56 kB / 450.5 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1921, allocations: 7.312 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1923, allocations: 32.72 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1923, allocations: 13.06 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1923, allocations: 6.406 kB / 450.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.1923, allocations: 123.5 kB / 450.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1923, allocations: 0 / 450.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.1925, allocations: 33.66 kB / 450.7 MB, free: 39.64 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.0004767/0.193, allocations: 0.8932 MB / 451.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1934, allocations: 189.3 kB / 451.7 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1934, allocations: 0 / 451.7 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1935, allocations: 74.97 kB / 451.8 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1937, allocations: 35.41 kB / 451.8 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1952, allocations: 1.932 MB / 453.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.1952, allocations: 97.02 kB / 453.9 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.1953, allocations: 20.33 kB / 453.9 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.1953, allocations: 43.66 kB / 453.9 MB, free: 37.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1953, allocations: 0 / 453.9 MB, free: 37.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.2143, allocations: 4.794 MB / 458.7 MB, free: 36.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.912, allocations: 12.58 kB / 458.7 MB, free: 36.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.910201066173613]