Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008277/0.0008277, 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.000966/0.000966, allocations: 170 kB / 23.95 MB, free: 0.6055 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.911/0.911, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2574/0.2574, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.754e-05, allocations: 4.812 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.1791/0.1791, allocations: 2.928 MB / 445.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1803, allocations: 1.007 MB / 446.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1804, allocations: 13.78 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.1805, allocations: 68.16 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.1807, allocations: 131 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1811, allocations: 179.3 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1814, allocations: 484.7 kB / 446.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1816, allocations: 86.25 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.1818, allocations: 258.3 kB / 447.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1819, allocations: 134.2 kB / 447.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.182, allocations: 33.44 kB / 447.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.1821, allocations: 56.61 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1821, allocations: 79.42 kB / 447.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.1822, allocations: 132 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1825, allocations: 455.9 kB / 448.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1825, allocations: 0 / 448.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1825, allocations: 6.281 kB / 448.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1825, allocations: 0 / 448.1 MB, free: 41.75 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007131/0.1833, allocations: 0.6199 MB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1833, allocations: 11.53 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.1834, allocations: 73.84 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1835, allocations: 68.03 kB / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1838, allocations: 235.9 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.1839, allocations: 24.91 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.1839, allocations: 45.7 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1843, allocations: 368.5 kB / 449.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1843, allocations: 14 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1843, allocations: 14.88 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1843, allocations: 10.03 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.1846, allocations: 239.4 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1857, allocations: 1.408 MB / 451.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.1861, allocations: 401.5 kB / 451.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1863, allocations: 123.9 kB / 451.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1863, allocations: 9.625 kB / 451.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1863, allocations: 43.73 kB / 451.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.522e-06/0.1863, allocations: 0 / 451.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001553/0.1878, allocations: 1.551 MB / 453.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1879, allocations: 188.1 kB / 453.5 MB, free: 37.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.188, allocations: 264.9 kB / 453.8 MB, free: 37.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.188, allocations: 36.64 kB / 453.8 MB, free: 37.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1881, allocations: 199.5 kB / 454 MB, free: 37.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.1882, allocations: 191.6 kB / 454.2 MB, free: 37.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.1882, allocations: 94.16 kB / 454.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.1883, allocations: 349.4 kB / 454.7 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1884, allocations: 125.2 kB / 454.8 MB, free: 36.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1886, allocations: 292.2 kB / 455.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.1889, allocations: 457.5 kB / 455.5 MB, free: 36.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1889, allocations: 3.125 kB / 455.5 MB, free: 36.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00042/0.1893, allocations: 494 kB / 456 MB, free: 36.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1893, allocations: 11.28 kB / 456 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1893, allocations: 7.156 kB / 456 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1894, allocations: 8.125 kB / 456 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.1896, allocations: 144.2 kB / 456.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1896, allocations: 11.83 kB / 456.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1897, allocations: 20.56 kB / 456.2 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1897, allocations: 26.88 kB / 456.2 MB, free: 36.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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 9.766e-05/0.1898, allocations: 176.7 kB / 456.4 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.1899, allocations: 40.14 kB / 456.4 MB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.19, allocations: 124.5 kB / 456.5 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.19, allocations: 5.781 kB / 456.6 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.19, allocations: 2.812 kB / 456.6 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.19, allocations: 6.078 kB / 456.6 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009471/0.191, allocations: 1.186 MB / 457.7 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.191, allocations: 2.938 kB / 457.8 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1913, allocations: 118.5 kB / 457.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1913, allocations: 5.188 kB / 457.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.1913, allocations: 16.25 kB / 457.9 MB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.1913, allocations: 15.75 kB / 457.9 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1913, allocations: 5.953 kB / 457.9 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1919, allocations: 1.003 MB / 458.9 MB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1919, allocations: 39.53 kB / 459 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.192, allocations: 10.47 kB / 459 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1922, allocations: 17.41 kB / 459 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.1922, allocations: 44.08 kB / 459 MB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1922, allocations: 20.03 kB / 459 MB, free: 34.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.824e-05/0.1923, allocations: 177.8 kB / 459.2 MB, free: 33.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1923, allocations: 0 / 459.2 MB, free: 33.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.1927, allocations: 101.7 kB / 459.3 MB, free: 33.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0006826/0.1934, allocations: 1.548 MB / 460.9 MB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1938, allocations: 339 kB / 461.2 MB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1938, allocations: 3.25 kB / 461.2 MB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1939, allocations: 167.7 kB / 461.4 MB, free: 32.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.1946, allocations: 91.27 kB / 461.5 MB, free: 32.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1975, allocations: 4.37 MB / 465.8 MB, free: 29.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.1976, allocations: 209.1 kB / 466 MB, free: 29.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1978, allocations: 53.22 kB / 466.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.1979, allocations: 133.8 kB / 466.2 MB, free: 29.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1979, allocations: 0 / 466.2 MB, free: 29.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.2165, allocations: 8.645 MB / 474.9 MB, free: 27.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.901, allocations: 13.33 kB / 474.9 MB, free: 27.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.000399521 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.947449455969036]