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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001207/0.001208, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008695/0.0008693, allocations: 111.1 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2986/0.2986, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 7.984 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2977, allocations: 63.24 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.4003, allocations: 92.21 MB / 0.6092 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4005, allocations: 74.06 kB / 0.6093 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.4236, allocations: 8.522 MB / 0.6176 GB, free: 4.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4236, allocations: 0 / 0.6176 GB, free: 4.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.4237, allocations: 8 kB / 0.6176 GB, free: 4.812 MB / 426.7 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.000883/0.4246, allocations: 0.6277 MB / 0.6182 GB, free: 4.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4246, allocations: 12.03 kB / 0.6182 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.4249, allocations: 63.52 kB / 0.6183 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4252, allocations: 285.3 kB / 0.6186 GB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4252, allocations: 25 kB / 0.6186 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.4253, allocations: 39.98 kB / 0.6186 GB, free: 3.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.4258, allocations: 359.6 kB / 0.619 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4259, allocations: 7.906 kB / 0.619 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4259, allocations: 16 kB / 0.619 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.4259, allocations: 8 kB / 0.619 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.4264, allocations: 251.7 kB / 0.6193 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.4283, allocations: 1.533 MB / 0.6208 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.429, allocations: 424.2 kB / 0.6212 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.429, allocations: 4 kB / 0.6212 GB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.429, allocations: 42.5 kB / 0.6212 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.429, allocations: 0 / 0.6212 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002909/0.432, allocations: 1.983 MB / 0.6231 GB, free: 14.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.4321, allocations: 187.9 kB / 0.6233 GB, free: 14.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4323, allocations: 230 kB / 0.6235 GB, free: 14.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4323, allocations: 37.7 kB / 0.6236 GB, free: 14.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.4324, allocations: 192.4 kB / 0.6238 GB, free: 13.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.4325, allocations: 181.4 kB / 0.6239 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.4326, allocations: 16 kB / 0.6239 GB, free: 13.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4327, allocations: 350.7 kB / 0.6243 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4329, allocations: 117.2 kB / 0.6244 GB, free: 13.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.4333, allocations: 292 kB / 0.6247 GB, free: 12.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.4335, allocations: 164.9 kB / 0.6248 GB, free: 12.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4336, allocations: 7.938 kB / 0.6248 GB, free: 12.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007335/0.4343, allocations: 498.2 kB / 0.6253 GB, free: 12.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4343, allocations: 8 kB / 0.6253 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.4343, allocations: 8 kB / 0.6253 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4344, allocations: 8 kB / 0.6253 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4348, allocations: 143.8 kB / 0.6255 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.4349, allocations: 11.94 kB / 0.6255 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.4351, allocations: 23.91 kB / 0.6255 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.4351, allocations: 28.17 kB / 0.6255 GB, free: 12.03 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4353, allocations: 179 kB / 0.6257 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4354, allocations: 35.62 kB / 0.6257 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4357, allocations: 123.3 kB / 0.6259 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4357, allocations: 8 kB / 0.6259 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4357, allocations: 3.938 kB / 0.6259 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4357, allocations: 4 kB / 0.6259 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.4374, allocations: 1.249 MB / 0.6271 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4375, allocations: 8.062 kB / 0.6271 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.438, allocations: 128.1 kB / 0.6272 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.438, allocations: 8 kB / 0.6272 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.438, allocations: 16 kB / 0.6272 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.4381, allocations: 11.98 kB / 0.6273 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4381, allocations: 8.125 kB / 0.6273 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4391, allocations: 1.175 MB / 0.6284 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.4392, allocations: 116.6 kB / 0.6285 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.4392, allocations: 16 kB / 0.6285 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.4396, allocations: 16 kB / 0.6285 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4397, allocations: 39.84 kB / 0.6286 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.4397, allocations: 19.98 kB / 0.6286 GB, free: 8.602 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.4399, allocations: 178 kB / 0.6288 GB, free: 8.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4399, allocations: 4 kB / 0.6288 GB, free: 8.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005796/0.4405, allocations: 100 kB / 0.6289 GB, free: 8.324 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4406, allocations: 123.3 kB / 0.629 GB, free: 8.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.4412, allocations: 348.3 kB / 0.6293 GB, free: 7.855 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4412, allocations: 0 / 0.6293 GB, free: 7.855 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4415, allocations: 167.7 kB / 0.6295 GB, free: 7.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.4421, allocations: 74.86 kB / 0.6296 GB, free: 7.621 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.4444, allocations: 1.781 MB / 0.6313 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4448, allocations: 0.82 MB / 0.6321 GB, free: 4.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.445, allocations: 47.28 kB / 0.6321 GB, free: 4.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.4451, allocations: 35.42 kB / 0.6322 GB, free: 4.836 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4451, allocations: 0 / 0.6322 GB, free: 4.836 MB / 442.7 MB Notification: Performance of Templates: time 0.006624/0.4517, allocations: 3.495 MB / 0.6356 GB, free: 1.387 MB / 442.7 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","../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches