Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009879/0.0009878, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 86.62 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.157e-05/1.158e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5247, allocations: 88.57 MB / 0.5524 GB, free: 6.773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.5249, allocations: 67.75 kB / 0.5525 GB, free: 6.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.5401, allocations: 6.489 MB / 0.5588 GB, free: 1.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5401, allocations: 3.938 kB / 0.5588 GB, free: 1.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5401, allocations: 19.92 kB / 0.5588 GB, free: 1.531 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006192/0.5408, allocations: 0.5332 MB / 0.5594 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5408, allocations: 12.03 kB / 0.5594 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.541, allocations: 51.52 kB / 0.5594 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.5412, allocations: 251.4 kB / 0.5597 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5413, allocations: 8 kB / 0.5597 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.5413, allocations: 31.14 kB / 0.5597 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003074/0.5416, allocations: 164.9 kB / 0.5599 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.542, allocations: 257.3 kB / 0.5601 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.542, allocations: 10.77 kB / 0.5601 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.542, allocations: 4 kB / 0.5601 GB, free: 264 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5421, allocations: 4 kB / 0.5601 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.5436, allocations: 1.221 MB / 0.5613 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.5441, allocations: 310.6 kB / 0.5616 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.5442, allocations: 94.73 kB / 0.5617 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5443, allocations: 4 kB / 0.5617 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5443, allocations: 38.56 kB / 0.5617 GB, free: 14.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.5443, allocations: 0 / 0.5617 GB, free: 14.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001562/0.5459, allocations: 1.288 MB / 0.563 GB, free: 13.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.546, allocations: 166.2 kB / 0.5632 GB, free: 13.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.5462, allocations: 174.8 kB / 0.5633 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5462, allocations: 25.7 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5463, allocations: 179 kB / 0.5635 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.5464, allocations: 153.2 kB / 0.5637 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.5465, allocations: 0 / 0.5637 GB, free: 12.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5466, allocations: 337.8 kB / 0.564 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5467, allocations: 83.75 kB / 0.5641 GB, free: 12.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.547, allocations: 225.1 kB / 0.5643 GB, free: 12.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5472, allocations: 120.4 kB / 0.5644 GB, free: 11.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5472, allocations: 0 / 0.5644 GB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004935/0.5477, allocations: 359.3 kB / 0.5647 GB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5477, allocations: 12.06 kB / 0.5648 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5477, allocations: 4 kB / 0.5648 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5477, allocations: 8 kB / 0.5648 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5481, allocations: 115.5 kB / 0.5649 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5481, allocations: 4 kB / 0.5649 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.5483, allocations: 15.92 kB / 0.5649 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.5484, allocations: 23.81 kB / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.000101/0.5485, allocations: 116.8 kB / 0.565 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5486, allocations: 39.58 kB / 0.5651 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.5488, allocations: 106.2 kB / 0.5652 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5488, allocations: 8 kB / 0.5652 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5488, allocations: 3.984 kB / 0.5652 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5488, allocations: 4 kB / 0.5652 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5501, allocations: 0.943 MB / 0.5661 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5502, allocations: 4.25 kB / 0.5661 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.5506, allocations: 99.83 kB / 0.5662 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5506, allocations: 4 kB / 0.5662 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5506, allocations: 8 kB / 0.5662 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.5506, allocations: 7.938 kB / 0.5662 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.5506, allocations: 4 kB / 0.5662 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.5515, allocations: 0.9238 MB / 0.5671 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.5516, allocations: 104.7 kB / 0.5672 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.5516, allocations: 11.69 kB / 0.5672 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.5519, allocations: 7.984 kB / 0.5672 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.5519, allocations: 35.8 kB / 0.5673 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.552, allocations: 12 kB / 0.5673 GB, free: 9.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.5521, allocations: 143.8 kB / 0.5674 GB, free: 8.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5521, allocations: 0 / 0.5674 GB, free: 8.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005229/0.5526, allocations: 64 kB / 0.5675 GB, free: 8.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (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 (41): * Single equations (assignments): 41 * 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.0001267/0.5527, allocations: 106.1 kB / 0.5676 GB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.5531, allocations: 247.1 kB / 0.5678 GB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5531, allocations: 4 kB / 0.5678 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5533, allocations: 111.1 kB / 0.5679 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.5539, allocations: 57.84 kB / 0.568 GB, free: 8.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5555, allocations: 1.122 MB / 0.5691 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.5559, allocations: 0.792 MB / 0.5699 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.5561, allocations: 39.27 kB / 0.5699 GB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.5562, allocations: 27.44 kB / 0.5699 GB, free: 6.461 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5562, allocations: 0 / 0.5699 GB, free: 6.461 MB / 378.7 MB Notification: Performance of Templates: time 0.005945/0.5621, allocations: 2.712 MB / 0.5726 GB, free: 3.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches