Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 115.4 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.12 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 76.06 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 62.44 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004902/0.1382, allocations: 3.187 MB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1403, allocations: 1.063 MB / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1405, allocations: 11.94 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1408, allocations: 43.62 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.141, allocations: 111.1 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.1416, allocations: 159.7 kB / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1421, allocations: 461.9 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1423, allocations: 120.4 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1425, allocations: 163.4 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1427, allocations: 187.2 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.1427, allocations: 35.94 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1429, allocations: 51.98 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.143, allocations: 67.84 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1432, allocations: 202.9 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.1437, allocations: 454.6 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1437, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1438, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1438, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 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.001324/0.1451, allocations: 0.6863 MB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1452, allocations: 12.03 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.1455, allocations: 60.45 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1459, allocations: 298.5 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1459, allocations: 25.38 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.146, allocations: 40.28 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.1467, allocations: 371.5 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.1467, allocations: 15.84 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1468, allocations: 12 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1468, allocations: 8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.1473, allocations: 251 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1494, allocations: 1.525 MB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.1501, allocations: 415.8 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.1504, allocations: 141 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1504, allocations: 4 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1504, allocations: 46.48 kB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.1504, allocations: 0 / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003152/0.1536, allocations: 1.965 MB / 491.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1537, allocations: 199.9 kB / 491.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.154, allocations: 255 kB / 492 MB, free: 8.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.154, allocations: 33.7 kB / 492.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1541, allocations: 200.3 kB / 492.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1543, allocations: 181.4 kB / 492.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.1545, allocations: 94.25 kB / 492.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.1547, allocations: 350.8 kB / 492.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.155, allocations: 125.2 kB / 493 MB, free: 7.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.1553, allocations: 291.9 kB / 493.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.1559, allocations: 454 kB / 493.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1559, allocations: 4 kB / 493.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008152/0.1567, allocations: 0.4889 MB / 494.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1568, allocations: 8 kB / 494.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1568, allocations: 7.984 kB / 494.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1568, allocations: 8 kB / 494.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.1573, allocations: 140.2 kB / 494.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1573, allocations: 19.88 kB / 494.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1576, allocations: 24 kB / 494.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.1576, allocations: 23.98 kB / 494.4 MB, free: 5.824 MB / 366.1 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 0.0002007/0.1578, allocations: 165.7 kB / 494.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.158, allocations: 39.53 kB / 494.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.1582, allocations: 131.3 kB / 494.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1582, allocations: 4 kB / 494.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1582, allocations: 11.94 kB / 494.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1583, allocations: 3.984 kB / 494.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1601, allocations: 1.241 MB / 496 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1601, allocations: 8.312 kB / 496 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.1607, allocations: 123.8 kB / 496.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.1607, allocations: 4 kB / 496.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1607, allocations: 19.94 kB / 496.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.1607, allocations: 11.98 kB / 496.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.1607, allocations: 7.938 kB / 496.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1618, allocations: 1.006 MB / 497.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.1619, allocations: 112.7 kB / 497.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.1619, allocations: 15.98 kB / 497.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.1623, allocations: 12 kB / 497.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.1624, allocations: 47.83 kB / 497.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.708e-05/0.1625, allocations: 16 kB / 497.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1627, allocations: 182 kB / 497.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1627, allocations: 0 / 497.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000627/0.1633, allocations: 96 kB / 497.7 MB, free: 2.402 MB / 366.1 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.0001145/0.1635, allocations: 115.1 kB / 497.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.1641, allocations: 366.5 kB / 498.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1641, allocations: 0 / 498.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.1644, allocations: 173.2 kB / 498.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.1655, allocations: 93.38 kB / 498.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1681, allocations: 1.622 MB / 0.4883 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.1687, allocations: 0.808 MB / 0.4891 GB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.1689, allocations: 51.33 kB / 0.4891 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.169, allocations: 31.44 kB / 0.4892 GB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.169, allocations: 4 kB / 0.4892 GB, free: 15.05 MB / 382.1 MB Notification: Performance of Templates: time 0.008408/0.1774, allocations: 3.839 MB / 0.4929 GB, free: 11.25 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches