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.001528/0.001528, allocations: 102 kB / 16.27 MB, free: 5.973 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.001853/0.001853, allocations: 184.6 kB / 17.19 MB, free: 5.609 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.711/1.711, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2369/0.2369, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.002474/0.002475, allocations: 72.75 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1571, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0044/0.1616, allocations: 2.766 MB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1634, allocations: 0.9939 MB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.1638, allocations: 8 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1641, allocations: 55.45 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.1646, allocations: 103 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.1653, allocations: 143.6 kB / 444.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1658, allocations: 386.2 kB / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1661, allocations: 89.34 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1664, allocations: 135.5 kB / 445.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1666, allocations: 155.2 kB / 445.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.1666, allocations: 28 kB / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1668, allocations: 40 kB / 445.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1669, allocations: 67.75 kB / 445.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.167, allocations: 167.1 kB / 445.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1675, allocations: 366.8 kB / 446 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1675, allocations: 0 / 446 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1675, allocations: 0 / 446 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1675, allocations: 0 / 446 MB, free: 1.41 MB / 318.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.001116/0.1687, allocations: 0.6121 MB / 446.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1687, allocations: 12.03 kB / 446.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.169, allocations: 52.45 kB / 446.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1693, allocations: 283.1 kB / 446.9 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1694, allocations: 21.03 kB / 447 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.1694, allocations: 40.28 kB / 447 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.1699, allocations: 302.6 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.17, allocations: 7.938 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.17, allocations: 16 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.17, allocations: 4 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.1704, allocations: 195.8 kB / 447.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.1724, allocations: 1.288 MB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.173, allocations: 337 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1731, allocations: 108.2 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1732, allocations: 8 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1732, allocations: 42.56 kB / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.103e-06/0.1732, allocations: 0 / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002667/0.1759, allocations: 1.567 MB / 450.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.176, allocations: 166.2 kB / 451 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1763, allocations: 232.9 kB / 451.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.1763, allocations: 29.7 kB / 451.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1765, allocations: 176.2 kB / 451.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.1766, allocations: 145.9 kB / 451.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1768, allocations: 90.16 kB / 451.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1769, allocations: 342.8 kB / 452 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1771, allocations: 93.08 kB / 452.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1774, allocations: 247.6 kB / 452.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.1779, allocations: 374.4 kB / 452.7 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1779, allocations: 0 / 452.7 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006501/0.1785, allocations: 412.9 kB / 453.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1786, allocations: 8.375 kB / 453.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1786, allocations: 8 kB / 453.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1786, allocations: 8 kB / 453.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.179, allocations: 119.8 kB / 453.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/0.179, allocations: 11.94 kB / 453.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1792, allocations: 19.88 kB / 453.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1793, allocations: 27.98 kB / 453.3 MB, free: 9.391 MB / 334.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.0001555/0.1795, allocations: 157.7 kB / 453.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.1796, allocations: 35.62 kB / 453.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1798, allocations: 123.3 kB / 453.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1798, allocations: 7.938 kB / 453.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1799, allocations: 4 kB / 453.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1799, allocations: 0 / 453.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.1815, allocations: 1.026 MB / 454.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.1815, allocations: 4 kB / 454.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.1819, allocations: 99.83 kB / 454.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.1819, allocations: 8.25 kB / 454.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.182, allocations: 12 kB / 454.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.182, allocations: 4 kB / 454.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.182, allocations: 7.938 kB / 454.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1829, allocations: 0.8219 MB / 455.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.183, allocations: 100.8 kB / 455.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.183, allocations: 19.98 kB / 455.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1833, allocations: 12 kB / 455.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.1834, allocations: 27.91 kB / 455.8 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1834, allocations: 16.19 kB / 455.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1835, allocations: 156.5 kB / 455.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1836, allocations: 3.938 kB / 455.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005668/0.1841, allocations: 80 kB / 456 MB, free: 6.523 MB / 334.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.0001369/0.1843, allocations: 123.1 kB / 456.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.1848, allocations: 297 kB / 456.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.1848, allocations: 4.859 kB / 456.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.185, allocations: 140 kB / 456.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.186, allocations: 80.84 kB / 456.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1881, allocations: 1.246 MB / 457.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.1885, allocations: 0.7841 MB / 458.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.1888, allocations: 43.25 kB / 458.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1888, allocations: 27.44 kB / 458.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1888, allocations: 0 / 458.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of Templates: time 0.007612/0.1965, allocations: 3.136 MB / 461.9 MB, free: 0.6016 MB / 334.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