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.001274/0.001274, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008242/0.0008239, allocations: 86.61 kB / 267 MB, free: 9.273 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.3917/0.3917, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.91e-05, allocations: 0 / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 58.86 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.5119, allocations: 89.24 MB / 0.56 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5122, allocations: 63.97 kB / 0.56 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.5301, allocations: 6.552 MB / 0.5664 GB, free: 9.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5301, allocations: 4 kB / 0.5664 GB, free: 9.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.5301, allocations: 4.547 kB / 0.5664 GB, free: 9.18 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007748/0.5309, allocations: 0.5439 MB / 0.567 GB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.531, allocations: 11.31 kB / 0.567 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.5312, allocations: 51.05 kB / 0.567 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5315, allocations: 262.5 kB / 0.5673 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5315, allocations: 16.78 kB / 0.5673 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.5316, allocations: 35.91 kB / 0.5673 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.5321, allocations: 292.4 kB / 0.5676 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5322, allocations: 3.906 kB / 0.5676 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.5322, allocations: 13.38 kB / 0.5676 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.5322, allocations: 12 kB / 0.5676 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.5325, allocations: 193.5 kB / 0.5678 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5342, allocations: 1.298 MB / 0.5691 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.5347, allocations: 317.4 kB / 0.5694 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5348, allocations: 112.3 kB / 0.5695 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.5348, allocations: 8.484 kB / 0.5695 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5349, allocations: 38.56 kB / 0.5695 GB, free: 5.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.316e-06/0.5349, allocations: 0 / 0.5695 GB, free: 5.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001631/0.5365, allocations: 1.356 MB / 0.5709 GB, free: 4.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.5366, allocations: 162.2 kB / 0.571 GB, free: 4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.5368, allocations: 197 kB / 0.5712 GB, free: 3.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5368, allocations: 29.7 kB / 0.5712 GB, free: 3.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.537, allocations: 180.2 kB / 0.5714 GB, free: 3.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5371, allocations: 153.7 kB / 0.5715 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.5371, allocations: 12 kB / 0.5716 GB, free: 3.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5373, allocations: 346.8 kB / 0.5719 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5374, allocations: 85.12 kB / 0.572 GB, free: 2.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.5377, allocations: 240.1 kB / 0.5722 GB, free: 2.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.5379, allocations: 123.9 kB / 0.5723 GB, free: 2.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5379, allocations: 4 kB / 0.5723 GB, free: 2.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005693/0.5385, allocations: 405.2 kB / 0.5727 GB, free: 2.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5385, allocations: 9.312 kB / 0.5727 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5385, allocations: 4 kB / 0.5727 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.5385, allocations: 8.375 kB / 0.5727 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.5389, allocations: 123.8 kB / 0.5728 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.539, allocations: 4 kB / 0.5728 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.5392, allocations: 16 kB / 0.5729 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.5392, allocations: 20 kB / 0.5729 GB, free: 1.992 MB / 394.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.0001211/0.5393, allocations: 136.8 kB / 0.573 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5394, allocations: 31.62 kB / 0.573 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.5397, allocations: 124.4 kB / 0.5732 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5397, allocations: 4 kB / 0.5732 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5397, allocations: 4 kB / 0.5732 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5397, allocations: 11.97 kB / 0.5732 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.5412, allocations: 1.022 MB / 0.5742 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5412, allocations: 4 kB / 0.5742 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.5416, allocations: 95.89 kB / 0.5743 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.5416, allocations: 4 kB / 0.5743 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5416, allocations: 20.11 kB / 0.5743 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.5417, allocations: 16.19 kB / 0.5743 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5417, allocations: 7.953 kB / 0.5743 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.5425, allocations: 0.9489 MB / 0.5752 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.5426, allocations: 100.8 kB / 0.5753 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.5427, allocations: 12 kB / 0.5754 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.543, allocations: 16 kB / 0.5754 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.543, allocations: 39.84 kB / 0.5754 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5431, allocations: 12 kB / 0.5754 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.5432, allocations: 157.4 kB / 0.5756 GB, free: 15 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.394e-06/0.5432, allocations: 112 / 0.5756 GB, free: 15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.5437, allocations: 83.94 kB / 0.5756 GB, free: 14.92 MB / 410.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.0001478/0.5439, allocations: 112.1 kB / 0.5758 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.5443, allocations: 267.4 kB / 0.576 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5443, allocations: 0.75 kB / 0.576 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5445, allocations: 128 kB / 0.5761 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.545, allocations: 66.2 kB / 0.5762 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.5466, allocations: 1.134 MB / 0.5773 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.547, allocations: 0.7962 MB / 0.5781 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.5472, allocations: 38.95 kB / 0.5781 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.5473, allocations: 27.44 kB / 0.5781 GB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5473, allocations: 0 / 0.5781 GB, free: 12.27 MB / 410.7 MB Notification: Performance of Templates: time 0.005913/0.5532, allocations: 2.864 MB / 0.5809 GB, free: 9.441 MB / 410.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