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.00117/0.00117, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.3 MB, free: 9.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.11 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 76.62 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 62.45 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004517/0.1441, allocations: 3.187 MB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1459, allocations: 1.067 MB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1461, allocations: 11.94 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1463, allocations: 43.62 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1465, allocations: 111.1 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.147, allocations: 155.7 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.1474, allocations: 449.8 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1476, allocations: 94 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1478, allocations: 159.4 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1481, allocations: 179.2 kB / 484.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1481, allocations: 20 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1483, allocations: 39.98 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.1483, allocations: 67.69 kB / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1485, allocations: 187.1 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.149, allocations: 442.5 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.149, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.149, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.149, allocations: 0 / 485.5 MB, free: 15.52 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.001208/0.1502, allocations: 0.6863 MB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1503, allocations: 8.875 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.1506, allocations: 60.45 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1509, allocations: 302.5 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.151, allocations: 33.38 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.1511, allocations: 40.28 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.1517, allocations: 359.6 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1517, allocations: 11.84 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.1518, allocations: 12 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1518, allocations: 16 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1522, allocations: 243.8 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1542, allocations: 1.533 MB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.155, allocations: 419.3 kB / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.1552, allocations: 133 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1553, allocations: 4.625 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1553, allocations: 54.48 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.1553, allocations: 0 / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002957/0.1583, allocations: 1.964 MB / 491.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.1584, allocations: 183.9 kB / 491.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1586, allocations: 259 kB / 491.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1586, allocations: 29.7 kB / 491.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1588, allocations: 208.3 kB / 492 MB, free: 8.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1589, allocations: 181.4 kB / 492.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.159, allocations: 98.25 kB / 492.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1591, allocations: 346.8 kB / 492.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1594, allocations: 117.2 kB / 492.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.1597, allocations: 303.9 kB / 493 MB, free: 7.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.1603, allocations: 449.6 kB / 493.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1603, allocations: 0 / 493.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000757/0.1611, allocations: 0.4939 MB / 493.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1611, allocations: 10.66 kB / 493.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.1612, allocations: 11.98 kB / 493.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.1612, allocations: 8 kB / 493.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.1617, allocations: 139.8 kB / 494.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.1617, allocations: 19.88 kB / 494.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.162, allocations: 16 kB / 494.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.162, allocations: 24 kB / 494.1 MB, free: 6.035 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.0001677/0.1622, allocations: 177.9 kB / 494.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.1623, allocations: 43.47 kB / 494.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1625, allocations: 123.3 kB / 494.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1626, allocations: 8 kB / 494.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1626, allocations: 3.938 kB / 494.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1626, allocations: 4 kB / 494.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.1643, allocations: 1.249 MB / 495.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.1644, allocations: 4 kB / 495.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.1649, allocations: 123.8 kB / 495.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1649, allocations: 7.938 kB / 495.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1649, allocations: 16 kB / 495.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.1649, allocations: 7.984 kB / 495.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.165, allocations: 12.25 kB / 495.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.166, allocations: 0.9972 MB / 496.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1661, allocations: 108.7 kB / 497 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.1661, allocations: 16 kB / 497 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.1665, allocations: 19.98 kB / 497 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.1666, allocations: 39.83 kB / 497.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.1666, allocations: 20 kB / 497.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1668, allocations: 174 kB / 497.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1668, allocations: 0 / 497.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.1674, allocations: 100 kB / 497.4 MB, free: 2.617 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.0001434/0.1676, allocations: 115.1 kB / 497.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.1682, allocations: 347.2 kB / 497.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1682, allocations: 0 / 497.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.1685, allocations: 168.9 kB / 498 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.1695, allocations: 96.62 kB / 498.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.1722, allocations: 1.62 MB / 499.7 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1726, allocations: 0.816 MB / 0.4888 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.1728, allocations: 47.34 kB / 0.4888 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.1729, allocations: 35.42 kB / 0.4889 GB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1729, allocations: 0 / 0.4889 GB, free: 15.29 MB / 382.1 MB Notification: Performance of Templates: time 0.0084/0.1813, allocations: 3.66 MB / 0.4924 GB, free: 11.66 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