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.001134/0.001134, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.6 kB / 16.92 MB, free: 6.688 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.781/1.781, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4914/0.4914, allocations: 43.58 MB / 315 MB, free: 9.047 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.0006474/0.0006475, allocations: 12 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1484, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003949/0.1524, allocations: 2.443 MB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1543, allocations: 0.9825 MB / 446.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1545, allocations: 4 kB / 446.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1547, allocations: 39.64 kB / 446.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1549, allocations: 87.3 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.1554, allocations: 127.7 kB / 447.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.1558, allocations: 370.2 kB / 447.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1561, allocations: 81.95 kB / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1563, allocations: 115.5 kB / 447.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1565, allocations: 147.2 kB / 447.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.1566, allocations: 12 kB / 447.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1567, allocations: 35.92 kB / 447.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.1568, allocations: 55.77 kB / 447.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.157, allocations: 172.9 kB / 448.1 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.1575, allocations: 350.6 kB / 448.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.1575, allocations: 4 kB / 448.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.1575, allocations: 0 / 448.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1575, allocations: 0 / 448.4 MB, free: 7.887 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.0009764/0.1585, allocations: 0.5692 MB / 449 MB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.1586, allocations: 12.03 kB / 449 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.1588, allocations: 48.55 kB / 449.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1592, allocations: 271.4 kB / 449.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1592, allocations: 21.03 kB / 449.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.1593, allocations: 36.28 kB / 449.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.1599, allocations: 306.7 kB / 449.7 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.1599, allocations: 11.84 kB / 449.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.16, allocations: 12 kB / 449.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.16, allocations: 7.938 kB / 449.7 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.1604, allocations: 199.8 kB / 449.9 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.1626, allocations: 1.284 MB / 451.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.1632, allocations: 336.8 kB / 451.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1634, allocations: 108.3 kB / 451.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1634, allocations: 11.92 kB / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1635, allocations: 46.56 kB / 451.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.1635, allocations: 0 / 451.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002785/0.1663, allocations: 1.571 MB / 453.2 MB, free: 2.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.1664, allocations: 162.2 kB / 453.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1666, allocations: 228.8 kB / 453.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1667, allocations: 37.7 kB / 453.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1668, allocations: 168.3 kB / 453.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1669, allocations: 157.7 kB / 454 MB, free: 1.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.167, allocations: 45.64 kB / 454 MB, free: 1.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1671, allocations: 350.7 kB / 454.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1673, allocations: 93.09 kB / 454.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1676, allocations: 243.6 kB / 454.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.1681, allocations: 374.2 kB / 455.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1681, allocations: 4 kB / 455.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005973/0.1687, allocations: 408.8 kB / 455.5 MB, free: 148 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1687, allocations: 4 kB / 455.5 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1687, allocations: 8.375 kB / 455.5 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1688, allocations: 8 kB / 455.5 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.1692, allocations: 115.8 kB / 455.6 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.1692, allocations: 11.98 kB / 455.6 MB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2834/0.4526, allocations: 20.42 kB / 455.6 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.4527, allocations: 24.83 kB / 455.7 MB, free: 45.54 MB / 382.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.000231/0.453, allocations: 155.2 kB / 455.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.4531, allocations: 30.28 kB / 455.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.4535, allocations: 121.9 kB / 456 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4535, allocations: 6.719 kB / 456 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4535, allocations: 4.875 kB / 456 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4535, allocations: 8.25 kB / 456 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.4549, allocations: 1.027 MB / 457 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4549, allocations: 2.781 kB / 457 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.4553, allocations: 99.95 kB / 457.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4553, allocations: 5.375 kB / 457.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4553, allocations: 14.73 kB / 457.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4554, allocations: 8.062 kB / 457.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4554, allocations: 2.969 kB / 457.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.456, allocations: 0.8291 MB / 458 MB, free: 44.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.456, allocations: 108.6 kB / 458.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.4561, allocations: 17.31 kB / 458.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.4564, allocations: 10.91 kB / 458.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.4564, allocations: 32.52 kB / 458.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4564, allocations: 15.94 kB / 458.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.957e-05/0.4566, allocations: 154 kB / 458.3 MB, free: 44.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4566, allocations: 3.188 kB / 458.3 MB, free: 44.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.4571, allocations: 86 kB / 458.4 MB, free: 44.12 MB / 382.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.0001033/0.4572, allocations: 119.1 kB / 458.5 MB, free: 44.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4576, allocations: 279.7 kB / 458.8 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4576, allocations: 3.719 kB / 458.8 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4578, allocations: 136.7 kB / 458.9 MB, free: 43.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.4587, allocations: 74.75 kB / 459 MB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4606, allocations: 1.544 MB / 460.5 MB, free: 42.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4609, allocations: 0.7887 MB / 461.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.4611, allocations: 39.11 kB / 461.4 MB, free: 42.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.4612, allocations: 27.66 kB / 461.4 MB, free: 42.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4612, allocations: 0 / 461.4 MB, free: 42.27 MB / 382.1 MB Notification: Performance of Templates: time 0.006188/0.4674, allocations: 2.95 MB / 464.3 MB, free: 42.11 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches