Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001548, allocations: 109.1 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 189.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 73.47 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1668, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004685/0.1715, allocations: 2.788 MB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1734, allocations: 0.9862 MB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1736, allocations: 11.94 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1737, allocations: 51.5 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1739, allocations: 107 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.1744, allocations: 147.6 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1748, allocations: 378.2 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.175, allocations: 97.03 kB / 0.4923 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1752, allocations: 139.5 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1754, allocations: 159.2 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.1755, allocations: 28 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1756, allocations: 43.98 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.1757, allocations: 59.77 kB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1759, allocations: 167.1 kB / 0.4929 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1763, allocations: 374.7 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1763, allocations: 0 / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1763, allocations: 0 / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1763, allocations: 0 / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001168/0.1775, allocations: 0.6043 MB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1776, allocations: 15.97 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.1778, allocations: 64.44 kB / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1782, allocations: 275.4 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1782, allocations: 21.03 kB / 0.4942 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.1783, allocations: 36.28 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.1788, allocations: 310.6 kB / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1788, allocations: 3.938 kB / 0.4945 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1789, allocations: 16 kB / 0.4945 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1789, allocations: 8 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.1793, allocations: 203.8 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.1814, allocations: 1.276 MB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.1819, allocations: 336.8 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1821, allocations: 112.2 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1821, allocations: 4 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1822, allocations: 46.5 kB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.1822, allocations: 0 / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002774/0.185, allocations: 1.574 MB / 0.498 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.1851, allocations: 166.2 kB / 0.4981 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1853, allocations: 221 kB / 0.4983 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1853, allocations: 33.7 kB / 0.4984 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1855, allocations: 176.2 kB / 0.4985 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1856, allocations: 157.8 kB / 0.4987 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1857, allocations: 82.17 kB / 0.4988 GB, free: 44 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1859, allocations: 342.8 kB / 0.4991 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.186, allocations: 97.08 kB / 0.4992 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.1863, allocations: 243.5 kB / 0.4994 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.1868, allocations: 377.8 kB / 0.4998 GB, free: 14.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1868, allocations: 0 / 0.4998 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005885/0.1874, allocations: 409.1 kB / 0.5002 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1875, allocations: 8.375 kB / 0.5002 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1875, allocations: 8 kB / 0.5002 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1875, allocations: 8 kB / 0.5002 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1879, allocations: 123.8 kB / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1879, allocations: 8 kB / 0.5003 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1881, allocations: 12 kB / 0.5003 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1881, allocations: 20 kB / 0.5004 GB, free: 14.28 MB / 398.1 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 0.0001451/0.1883, allocations: 165.6 kB / 0.5005 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1884, allocations: 35.61 kB / 0.5006 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.1887, allocations: 123.3 kB / 0.5007 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1887, allocations: 7.938 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1887, allocations: 0 / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1887, allocations: 7.984 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1902, allocations: 1.03 MB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1902, allocations: 4 kB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.1906, allocations: 95.89 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1906, allocations: 4.234 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.1907, allocations: 12 kB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.1907, allocations: 12.19 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.1907, allocations: 4 kB / 0.5018 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1918, allocations: 0.8305 MB / 0.5026 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.1919, allocations: 108.8 kB / 0.5027 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.1919, allocations: 8 kB / 0.5027 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1922, allocations: 8 kB / 0.5027 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.1923, allocations: 43.83 kB / 0.5028 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1924, allocations: 16 kB / 0.5028 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1925, allocations: 152.6 kB / 0.5029 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1925, allocations: 3.938 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.1931, allocations: 84 kB / 0.503 GB, free: 11.37 MB / 398.1 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.0001315/0.1932, allocations: 111.2 kB / 0.5031 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.1937, allocations: 284.9 kB / 0.5034 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1937, allocations: 0 / 0.5034 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.1939, allocations: 128.9 kB / 0.5035 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.1948, allocations: 82.36 kB / 0.5036 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1969, allocations: 1.242 MB / 0.5048 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1973, allocations: 0.7842 MB / 0.5056 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.1975, allocations: 39.28 kB / 0.5056 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1976, allocations: 27.44 kB / 0.5057 GB, free: 8.586 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1976, allocations: 0 / 0.5057 GB, free: 8.586 MB / 398.1 MB Notification: Performance of Templates: time 0.00707/0.2047, allocations: 3.196 MB / 0.5088 GB, free: 5.406 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches