Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007815/0.0007817, allocations: 96.64 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.307/0.307, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.3771, allocations: 91.97 MB / 0.6063 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3773, allocations: 67.97 kB / 0.6063 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02261/0.3999, allocations: 8.457 MB / 0.6146 GB, free: 4.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3999, allocations: 0 / 0.6146 GB, free: 4.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.4, allocations: 8 kB / 0.6146 GB, free: 4.879 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.0008853/0.4009, allocations: 0.6126 MB / 0.6152 GB, free: 4.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4009, allocations: 8.031 kB / 0.6152 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.4012, allocations: 72.39 kB / 0.6153 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4015, allocations: 284.7 kB / 0.6156 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.4016, allocations: 25.38 kB / 0.6156 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.4016, allocations: 44.27 kB / 0.6156 GB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.4022, allocations: 364.3 kB / 0.616 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4022, allocations: 0 / 0.616 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.4022, allocations: 19.98 kB / 0.616 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4023, allocations: 8 kB / 0.616 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.4027, allocations: 247.7 kB / 0.6162 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.4046, allocations: 1.51 MB / 0.6177 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.4053, allocations: 416.2 kB / 0.6181 GB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.4055, allocations: 145 kB / 0.6182 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.4055, allocations: 8 kB / 0.6182 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4056, allocations: 42.5 kB / 0.6183 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.4056, allocations: 4 kB / 0.6183 GB, free: 0.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.002844/0.4084, allocations: 1.967 MB / 0.6202 GB, free: 14.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.4085, allocations: 183.9 kB / 0.6204 GB, free: 14.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.4087, allocations: 246.6 kB / 0.6206 GB, free: 14.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4088, allocations: 33.7 kB / 0.6207 GB, free: 14.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4089, allocations: 200.3 kB / 0.6208 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.409, allocations: 181.5 kB / 0.621 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.409, allocations: 12 kB / 0.621 GB, free: 13.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4092, allocations: 350.7 kB / 0.6214 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.4094, allocations: 113.3 kB / 0.6215 GB, free: 13.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.4097, allocations: 299.8 kB / 0.6218 GB, free: 12.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.4103, allocations: 457.7 kB / 0.6222 GB, free: 12.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4103, allocations: 0 / 0.6222 GB, free: 12.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000767/0.4111, allocations: 496.5 kB / 0.6227 GB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4111, allocations: 8 kB / 0.6227 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4112, allocations: 4 kB / 0.6227 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4112, allocations: 15.94 kB / 0.6227 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.4116, allocations: 135.8 kB / 0.6228 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.4117, allocations: 16.33 kB / 0.6228 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4119, allocations: 27.94 kB / 0.6229 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.412, allocations: 24 kB / 0.6229 GB, free: 11.59 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.0001749/0.4121, allocations: 169.7 kB / 0.6231 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.4123, allocations: 43.83 kB / 0.6231 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.4125, allocations: 123.3 kB / 0.6232 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4125, allocations: 11.98 kB / 0.6232 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4125, allocations: 3.984 kB / 0.6232 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4126, allocations: 8 kB / 0.6232 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.4143, allocations: 1.249 MB / 0.6245 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4143, allocations: 8.031 kB / 0.6245 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.4149, allocations: 119.8 kB / 0.6246 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4149, allocations: 8 kB / 0.6246 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4149, allocations: 12 kB / 0.6246 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.4149, allocations: 4 kB / 0.6246 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4149, allocations: 7.938 kB / 0.6246 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.4159, allocations: 1.005 MB / 0.6256 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.416, allocations: 120.6 kB / 0.6257 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.416, allocations: 12.19 kB / 0.6257 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.4164, allocations: 20 kB / 0.6257 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.4164, allocations: 43.77 kB / 0.6258 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.4165, allocations: 19.98 kB / 0.6258 GB, free: 8.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4166, allocations: 170 kB / 0.626 GB, free: 8.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4166, allocations: 0 / 0.626 GB, free: 8.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005897/0.4172, allocations: 100.6 kB / 0.6261 GB, free: 8.172 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.000137/0.4174, allocations: 123.1 kB / 0.6262 GB, free: 8.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.418, allocations: 348.1 kB / 0.6265 GB, free: 7.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.418, allocations: 4 kB / 0.6265 GB, free: 7.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4182, allocations: 164.1 kB / 0.6267 GB, free: 7.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4193, allocations: 94.02 kB / 0.6268 GB, free: 7.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4215, allocations: 1.8 MB / 0.6285 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.4219, allocations: 0.8044 MB / 0.6293 GB, free: 4.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.422, allocations: 35.44 kB / 0.6293 GB, free: 4.703 MB / 442.7 MB Notification: Performance of SimCode: time 5.92e-07/0.422, allocations: 0 / 0.6293 GB, free: 4.703 MB / 442.7 MB Notification: Performance of Templates: time 0.006222/0.4282, allocations: 4.577 MB / 0.6338 GB, free: 144 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches