Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.0008643/0.0008643, 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.001009/0.001009, 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.9021/0.9021, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2482/0.2482, allocations: 32.8 MB / 293.5 MB, free: 1.227 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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 439.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.318e-05, allocations: 6.281 kB / 439.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003043/0.003067, allocations: 2.69 MB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004653, allocations: 0.9581 MB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.004874, allocations: 15.88 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.005043, allocations: 51.45 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.00523, allocations: 111 kB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.005829, allocations: 159.4 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1773/0.1831, allocations: 398.2 kB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.1833, allocations: 64.2 kB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1836, allocations: 220 kB / 444.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1837, allocations: 110.7 kB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.1837, allocations: 26.09 kB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1838, allocations: 54.39 kB / 444.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.1838, allocations: 64.25 kB / 444.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.1839, allocations: 115.3 kB / 444.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1842, allocations: 393.6 kB / 444.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1842, allocations: 0 / 444.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1842, allocations: 1.719 kB / 444.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1842, allocations: 0 / 444.9 MB, free: 43.26 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006024/0.1848, allocations: 0.5509 MB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1849, allocations: 9.062 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1849, allocations: 67.92 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1851, allocations: 62.03 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1854, allocations: 214 kB / 445.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1854, allocations: 25.34 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.1855, allocations: 34.5 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.1858, allocations: 308.6 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1858, allocations: 6.672 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1858, allocations: 19.19 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1858, allocations: 8.531 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.186, allocations: 196 kB / 446.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.187, allocations: 1.192 MB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1874, allocations: 321.5 kB / 447.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.1875, allocations: 110.5 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1875, allocations: 3 kB / 448 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.1875, allocations: 40.38 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.1875, allocations: 3.094 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001327/0.1888, allocations: 1.233 MB / 449.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1889, allocations: 159.9 kB / 449.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.189, allocations: 239.6 kB / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.189, allocations: 32.39 kB / 449.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.1891, allocations: 186.7 kB / 449.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1891, allocations: 154.7 kB / 450.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.1892, allocations: 87.12 kB / 450.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.1892, allocations: 345 kB / 450.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1893, allocations: 93.59 kB / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1895, allocations: 239.2 kB / 450.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.1898, allocations: 374.2 kB / 451.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1898, allocations: 10.88 kB / 451.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003678/0.1901, allocations: 411.4 kB / 451.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1902, allocations: 13.22 kB / 451.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1902, allocations: 5.531 kB / 451.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1902, allocations: 9.344 kB / 451.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1904, allocations: 122.2 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1904, allocations: 5.75 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1905, allocations: 24.55 kB / 451.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1905, allocations: 24.3 kB / 451.8 MB, free: 39.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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 8.299e-05/0.1906, allocations: 161.2 kB / 452 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.1907, allocations: 29.84 kB / 452 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.1908, allocations: 119.9 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1908, allocations: 10.38 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1908, allocations: 0 / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1908, allocations: 6.531 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.1917, allocations: 0.9674 MB / 453.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1917, allocations: 6.328 kB / 453.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1919, allocations: 93.55 kB / 453.2 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1919, allocations: 5.5 kB / 453.2 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1919, allocations: 13.84 kB / 453.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1919, allocations: 17.22 kB / 453.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1919, allocations: 6.406 kB / 453.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1923, allocations: 0.823 MB / 454 MB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.1924, allocations: 26.69 kB / 454.1 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1924, allocations: 14.28 kB / 454.1 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1926, allocations: 17.66 kB / 454.1 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1926, allocations: 29.78 kB / 454.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1926, allocations: 12.92 kB / 454.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.1927, allocations: 162.1 kB / 454.3 MB, free: 37.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1927, allocations: 4 kB / 454.3 MB, free: 37.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.193, allocations: 83.62 kB / 454.4 MB, free: 37.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.0005255/0.1936, allocations: 1.375 MB / 455.8 MB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1939, allocations: 275.1 kB / 456 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1939, allocations: 4 kB / 456 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.194, allocations: 129.6 kB / 456.2 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.1946, allocations: 71.97 kB / 456.2 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.197, allocations: 3.801 MB / 460 MB, free: 33.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1971, allocations: 182.5 kB / 460.2 MB, free: 33.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1972, allocations: 44.67 kB / 460.3 MB, free: 33.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1973, allocations: 109.5 kB / 460.4 MB, free: 33.1 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1973, allocations: 0 / 460.4 MB, free: 33.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.2176, allocations: 7.387 MB / 467.7 MB, free: 31.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.074, allocations: 6.625 kB / 467.8 MB, free: 31.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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: 9.093350181356072]