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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001771/0.001771, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.64 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004366/0.1424, allocations: 2.773 MB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1444, allocations: 0.9581 MB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.1448, allocations: 11.94 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.1451, allocations: 55.44 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.1456, allocations: 99.06 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.1463, allocations: 147.6 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.1468, allocations: 378.2 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1471, allocations: 81.14 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1473, allocations: 139.5 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.1476, allocations: 151.3 kB / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.1477, allocations: 28 kB / 474.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1478, allocations: 43.98 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.1479, allocations: 71.69 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1481, allocations: 163.2 kB / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.1485, allocations: 370.9 kB / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1485, allocations: 0 / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1486, allocations: 0 / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1486, allocations: 0 / 475.4 MB, free: 8.906 MB / 350.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.001118/0.1497, allocations: 0.6199 MB / 476 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1497, allocations: 8.031 kB / 476 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.15, allocations: 48.55 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1503, allocations: 272.2 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1504, allocations: 17.03 kB / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1505, allocations: 44.36 kB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.1509, allocations: 298.6 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.151, allocations: 15.88 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.151, allocations: 12 kB / 476.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.151, allocations: 8 kB / 476.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.1514, allocations: 195.8 kB / 476.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1532, allocations: 1.28 MB / 478.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.1538, allocations: 340.9 kB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1539, allocations: 104.3 kB / 478.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.154, allocations: 8 kB / 478.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.154, allocations: 46.48 kB / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/0.154, allocations: 0 / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002575/0.1566, allocations: 1.578 MB / 480.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1567, allocations: 162.2 kB / 480.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1569, allocations: 221 kB / 480.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.157, allocations: 33.7 kB / 480.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1571, allocations: 184.1 kB / 480.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1572, allocations: 145.8 kB / 480.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1573, allocations: 86.16 kB / 481 MB, free: 2.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1575, allocations: 350.8 kB / 481.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1576, allocations: 93.08 kB / 481.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.1579, allocations: 243.5 kB / 481.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1584, allocations: 366.6 kB / 482.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.1584, allocations: 8 kB / 482.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006268/0.159, allocations: 417.3 kB / 482.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1591, allocations: 12.06 kB / 482.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1591, allocations: 4 kB / 482.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.1591, allocations: 8 kB / 482.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.1595, allocations: 119.8 kB / 482.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.1595, allocations: 12.3 kB / 482.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.1597, allocations: 16 kB / 482.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.1598, allocations: 20 kB / 482.7 MB, free: 0.9023 MB / 350.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.0001639/0.16, allocations: 157.7 kB / 482.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1601, allocations: 27.72 kB / 482.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1603, allocations: 127.2 kB / 483 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1603, allocations: 7.938 kB / 483 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1604, allocations: 4 kB / 483 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1604, allocations: 3.984 kB / 483 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1619, allocations: 1.033 MB / 484 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.1619, allocations: 4 kB / 484 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.1624, allocations: 100.1 kB / 484.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.1624, allocations: 8 kB / 484.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.1624, allocations: 11.98 kB / 484.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1624, allocations: 7.938 kB / 484.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1624, allocations: 4 kB / 484.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.1632, allocations: 0.8306 MB / 485 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.1633, allocations: 112.7 kB / 485.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.1634, allocations: 16.12 kB / 485.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.1637, allocations: 12 kB / 485.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1638, allocations: 31.84 kB / 485.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1638, allocations: 19.98 kB / 485.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1639, allocations: 152.5 kB / 485.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.164, allocations: 0 / 485.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.1646, allocations: 88 kB / 485.4 MB, free: 14 MB / 366.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.0001205/0.1647, allocations: 107.2 kB / 485.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.1652, allocations: 300.4 kB / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1652, allocations: 0 / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1654, allocations: 135.7 kB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/0.1663, allocations: 65 kB / 486 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1684, allocations: 1.275 MB / 487.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1688, allocations: 0.7881 MB / 488.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1689, allocations: 31.44 kB / 488.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1689, allocations: 0 / 488.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Templates: time 0.006765/0.1757, allocations: 3.918 MB / 492 MB, free: 7.293 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches