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.00128/0.00128, allocations: 200.2 kB / 18.1 MB, free: 3.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007852, allocations: 107.9 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3524/0.3524, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4058, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.5226, allocations: 91.97 MB / 0.6082 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5229, allocations: 71.95 kB / 0.6083 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02376/0.5466, allocations: 8.448 MB / 0.6165 GB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5467, allocations: 0 / 0.6165 GB, free: 4.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.5467, allocations: 11.98 kB / 0.6166 GB, free: 4.754 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001248/0.548, allocations: 0.6087 MB / 0.6171 GB, free: 4.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.548, allocations: 8.031 kB / 0.6172 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.5484, allocations: 68.45 kB / 0.6172 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.549, allocations: 284.6 kB / 0.6175 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.549, allocations: 25.38 kB / 0.6175 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.5491, allocations: 44.27 kB / 0.6176 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.5498, allocations: 356.3 kB / 0.6179 GB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.5498, allocations: 7.938 kB / 0.6179 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.5498, allocations: 16 kB / 0.6179 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5499, allocations: 11.98 kB / 0.6179 GB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.5504, allocations: 251.7 kB / 0.6182 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.5526, allocations: 1.506 MB / 0.6196 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.5533, allocations: 422.8 kB / 0.62 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.5536, allocations: 137.1 kB / 0.6202 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.5536, allocations: 12.45 kB / 0.6202 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5537, allocations: 42.5 kB / 0.6202 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 4.308e-06/0.5537, allocations: 7.984 kB / 0.6202 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.003143/0.5568, allocations: 1.964 MB / 0.6222 GB, free: 14.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.5569, allocations: 187.9 kB / 0.6223 GB, free: 14.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.5572, allocations: 246.6 kB / 0.6226 GB, free: 13.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.5573, allocations: 33.7 kB / 0.6226 GB, free: 13.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5574, allocations: 200.3 kB / 0.6228 GB, free: 13.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5575, allocations: 181.5 kB / 0.623 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.5576, allocations: 12 kB / 0.623 GB, free: 13.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5577, allocations: 346.8 kB / 0.6233 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.558, allocations: 113.3 kB / 0.6234 GB, free: 13.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.5583, allocations: 299.8 kB / 0.6237 GB, free: 12.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.559, allocations: 456.5 kB / 0.6241 GB, free: 12.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.559, allocations: 0 / 0.6241 GB, free: 12.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008301/0.5598, allocations: 0.489 MB / 0.6246 GB, free: 11.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5599, allocations: 8 kB / 0.6246 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5599, allocations: 4 kB / 0.6246 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5599, allocations: 15.94 kB / 0.6246 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.5604, allocations: 135.8 kB / 0.6248 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.5604, allocations: 15.92 kB / 0.6248 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.5607, allocations: 32.34 kB / 0.6248 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.5607, allocations: 24 kB / 0.6248 GB, free: 11.47 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.0001902/0.5609, allocations: 169.7 kB / 0.625 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5611, allocations: 39.56 kB / 0.625 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.5613, allocations: 127.2 kB / 0.6252 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5613, allocations: 8 kB / 0.6252 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5614, allocations: 0 / 0.6252 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5614, allocations: 7.984 kB / 0.6252 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.5632, allocations: 1.249 MB / 0.6264 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5633, allocations: 4.312 kB / 0.6264 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.5638, allocations: 123.8 kB / 0.6265 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.5638, allocations: 7.984 kB / 0.6265 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5638, allocations: 12.19 kB / 0.6265 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.5638, allocations: 4 kB / 0.6265 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5639, allocations: 11.88 kB / 0.6266 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5649, allocations: 1.009 MB / 0.6275 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.565, allocations: 116.6 kB / 0.6277 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.5651, allocations: 16.19 kB / 0.6277 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.5654, allocations: 20 kB / 0.6277 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.5655, allocations: 39.83 kB / 0.6277 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.5655, allocations: 19.98 kB / 0.6277 GB, free: 8.316 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.5657, allocations: 170 kB / 0.6279 GB, free: 8.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5657, allocations: 0 / 0.6279 GB, free: 8.148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.5663, allocations: 100.6 kB / 0.628 GB, free: 8.051 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.0001478/0.5665, allocations: 123.1 kB / 0.6281 GB, free: 7.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5671, allocations: 344 kB / 0.6284 GB, free: 7.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5671, allocations: 8.062 kB / 0.6285 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.5674, allocations: 168.9 kB / 0.6286 GB, free: 7.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5685, allocations: 83.69 kB / 0.6287 GB, free: 7.336 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5708, allocations: 1.765 MB / 0.6304 GB, free: 5.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.5713, allocations: 0.8044 MB / 0.6312 GB, free: 4.664 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.5715, allocations: 51.25 kB / 0.6313 GB, free: 4.613 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.5716, allocations: 39.42 kB / 0.6313 GB, free: 4.574 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5716, allocations: 0 / 0.6313 GB, free: 4.574 MB / 442.7 MB Notification: Performance of Templates: time 0.007439/0.5791, allocations: 3.521 MB / 0.6347 GB, free: 1.098 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/jenkins1/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