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.001714/0.001714, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008064/0.0008064, allocations: 101.4 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 45.14 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.499e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 63.25 MB / 0.5043 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5496, allocations: 91.49 MB / 0.5937 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.5499, allocations: 64.34 kB / 0.5938 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02297/0.5728, allocations: 8.439 MB / 0.602 GB, free: 4.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5729, allocations: 0 / 0.602 GB, free: 4.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.5729, allocations: 8 kB / 0.602 GB, free: 4.203 MB / 394.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.0008973/0.5738, allocations: 0.5829 MB / 0.6026 GB, free: 3.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5739, allocations: 12.03 kB / 0.6026 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.5741, allocations: 71.41 kB / 0.6026 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.5745, allocations: 288.6 kB / 0.6029 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.5746, allocations: 15.94 kB / 0.6029 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.5746, allocations: 23.91 kB / 0.603 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003696/0.575, allocations: 202.9 kB / 0.6032 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.5755, allocations: 298.5 kB / 0.6034 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.5755, allocations: 11.98 kB / 0.6035 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.5755, allocations: 0 / 0.6035 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5755, allocations: 8 kB / 0.6035 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5774, allocations: 1.463 MB / 0.6049 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.578, allocations: 360.8 kB / 0.6052 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.5781, allocations: 110.5 kB / 0.6053 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5782, allocations: 7.984 kB / 0.6053 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5782, allocations: 53.83 kB / 0.6054 GB, free: 0.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.5782, allocations: 0 / 0.6054 GB, free: 0.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.00188/0.5801, allocations: 1.619 MB / 0.607 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5802, allocations: 187.9 kB / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5804, allocations: 198.1 kB / 0.6073 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5804, allocations: 29.7 kB / 0.6074 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5806, allocations: 198.9 kB / 0.6076 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.5807, allocations: 179.5 kB / 0.6077 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.5807, allocations: 0 / 0.6077 GB, free: 14.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5809, allocations: 352.3 kB / 0.6081 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.581, allocations: 95.75 kB / 0.6082 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.5813, allocations: 271.6 kB / 0.6084 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.5816, allocations: 145.6 kB / 0.6086 GB, free: 13.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5816, allocations: 0 / 0.6086 GB, free: 13.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006154/0.5822, allocations: 418.5 kB / 0.609 GB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5822, allocations: 8 kB / 0.609 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5822, allocations: 4.438 kB / 0.609 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.5823, allocations: 16 kB / 0.609 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.5828, allocations: 135.5 kB / 0.6091 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.5828, allocations: 19.92 kB / 0.6091 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.583, allocations: 8 kB / 0.6091 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.5831, allocations: 23.81 kB / 0.6092 GB, free: 13.11 MB / 410.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 () * 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.0001081/0.5832, allocations: 124.2 kB / 0.6093 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5833, allocations: 35.62 kB / 0.6093 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5836, allocations: 115.7 kB / 0.6094 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5836, allocations: 8.281 kB / 0.6094 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5836, allocations: 4 kB / 0.6094 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5836, allocations: 7.969 kB / 0.6094 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.5852, allocations: 1.141 MB / 0.6106 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.5852, allocations: 8.172 kB / 0.6106 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5857, allocations: 118.5 kB / 0.6107 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.5857, allocations: 11.94 kB / 0.6107 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.5858, allocations: 11.94 kB / 0.6107 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.5858, allocations: 8 kB / 0.6107 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5858, allocations: 4 kB / 0.6107 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5868, allocations: 1.111 MB / 0.6118 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.5869, allocations: 117.6 kB / 0.6119 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.587, allocations: 5.25 kB / 0.6119 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.5874, allocations: 11.98 kB / 0.6119 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.5874, allocations: 37.09 kB / 0.612 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5875, allocations: 15.12 kB / 0.612 GB, free: 10.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.5876, allocations: 166.2 kB / 0.6121 GB, free: 10.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5876, allocations: 0 / 0.6121 GB, free: 10.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.5882, allocations: 84.56 kB / 0.6122 GB, free: 10.06 MB / 410.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 () * 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.0001526/0.5884, allocations: 113.2 kB / 0.6123 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.5889, allocations: 293.7 kB / 0.6126 GB, free: 9.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5889, allocations: 4.125 kB / 0.6126 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.5892, allocations: 150.2 kB / 0.6128 GB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.5899, allocations: 65.05 kB / 0.6128 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.5919, allocations: 1.351 MB / 0.6141 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.5924, allocations: 0.8158 MB / 0.6149 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.5926, allocations: 47.27 kB / 0.615 GB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.5927, allocations: 31.42 kB / 0.615 GB, free: 7.293 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5927, allocations: 0 / 0.615 GB, free: 7.293 MB / 410.7 MB Notification: Performance of Templates: time 0.007092/0.5998, allocations: 3.3 MB / 0.6182 GB, free: 4.035 MB / 410.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