Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 106.2 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3651/0.3651, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3662, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0039/0.3701, allocations: 2.837 MB / 0.5091 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3715, allocations: 0.9461 MB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.3716, allocations: 9.656 kB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.3718, allocations: 34.77 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.372, allocations: 86.98 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3724, allocations: 136.9 kB / 0.5103 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3727, allocations: 365.5 kB / 0.5107 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3729, allocations: 77.81 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.373, allocations: 125.8 kB / 0.5109 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3731, allocations: 146.8 kB / 0.511 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3732, allocations: 21.53 kB / 0.511 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.3733, allocations: 36.05 kB / 0.5111 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.3733, allocations: 53.3 kB / 0.5111 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3734, allocations: 154.3 kB / 0.5113 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3737, allocations: 361.4 kB / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3737, allocations: 0 / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3738, allocations: 2.844 kB / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3738, allocations: 0 / 0.5116 GB, free: 34.85 MB / 378.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.0008287/0.3746, allocations: 0.6125 MB / 0.5122 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3746, allocations: 12.69 kB / 0.5122 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.3748, allocations: 50.09 kB / 0.5123 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3751, allocations: 270.2 kB / 0.5125 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3751, allocations: 27.09 kB / 0.5125 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.3752, allocations: 36.31 kB / 0.5126 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3756, allocations: 301.2 kB / 0.5129 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3756, allocations: 7.031 kB / 0.5129 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3756, allocations: 14.88 kB / 0.5129 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3756, allocations: 6.219 kB / 0.5129 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.3759, allocations: 202.2 kB / 0.5131 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.3774, allocations: 1.291 MB / 0.5144 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.378, allocations: 337.3 kB / 0.5147 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3781, allocations: 112.7 kB / 0.5148 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3782, allocations: 6.875 kB / 0.5148 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3782, allocations: 41.41 kB / 0.5148 GB, free: 32.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/0.3782, allocations: 0 / 0.5148 GB, free: 32.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002133/0.3803, allocations: 1.564 MB / 0.5164 GB, free: 31.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3804, allocations: 159.1 kB / 0.5165 GB, free: 30.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3806, allocations: 233.6 kB / 0.5167 GB, free: 30.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3806, allocations: 31.14 kB / 0.5168 GB, free: 30.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.3807, allocations: 173.2 kB / 0.5169 GB, free: 30.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.3808, allocations: 158.6 kB / 0.5171 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.3809, allocations: 80.8 kB / 0.5172 GB, free: 30.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.3809, allocations: 343.6 kB / 0.5175 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.3811, allocations: 98.19 kB / 0.5176 GB, free: 30.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3813, allocations: 246.1 kB / 0.5178 GB, free: 29.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.3817, allocations: 375 kB / 0.5182 GB, free: 29.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3817, allocations: 1.969 kB / 0.5182 GB, free: 29.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004998/0.3822, allocations: 414.2 kB / 0.5186 GB, free: 29.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3822, allocations: 5.75 kB / 0.5186 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3823, allocations: 5.562 kB / 0.5186 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3823, allocations: 8.594 kB / 0.5186 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.3826, allocations: 118 kB / 0.5187 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3826, allocations: 15.81 kB / 0.5187 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3828, allocations: 20.56 kB / 0.5187 GB, free: 29.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3829, allocations: 18.34 kB / 0.5187 GB, free: 29.35 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.383, allocations: 163.6 kB / 0.5189 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3831, allocations: 29.22 kB / 0.5189 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.3833, allocations: 120.4 kB / 0.519 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3833, allocations: 9.812 kB / 0.5191 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3833, allocations: 0 / 0.5191 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3833, allocations: 5.312 kB / 0.5191 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3845, allocations: 1.032 MB / 0.5201 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3845, allocations: 11.31 kB / 0.5201 GB, free: 28.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.3849, allocations: 95.77 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3849, allocations: 9.828 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3849, allocations: 13.09 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.385, allocations: 5.375 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.385, allocations: 6.531 kB / 0.5202 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.3884, allocations: 2.859 MB / 0.523 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3885, allocations: 107.1 kB / 0.5231 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3885, allocations: 14.48 kB / 0.5231 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3888, allocations: 14.61 kB / 0.5231 GB, free: 26.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3889, allocations: 32.36 kB / 0.5232 GB, free: 26.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3889, allocations: 15.61 kB / 0.5232 GB, free: 26.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.389, allocations: 165.2 kB / 0.5233 GB, free: 25.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 0.5233 GB, free: 25.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006477/0.3896, allocations: 115.3 kB / 0.5234 GB, free: 25.95 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.572e-05/0.3897, allocations: 114.4 kB / 0.5235 GB, free: 25.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.3902, allocations: 279.4 kB / 0.5238 GB, free: 25.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3902, allocations: 0 / 0.5238 GB, free: 25.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3903, allocations: 129.2 kB / 0.5239 GB, free: 25.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.3912, allocations: 69.33 kB / 0.524 GB, free: 25.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.393, allocations: 1.626 MB / 0.5256 GB, free: 24.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3932, allocations: 0.7966 MB / 0.5264 GB, free: 23.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3934, allocations: 51.45 kB / 0.5264 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.3935, allocations: 31.06 kB / 0.5264 GB, free: 23.69 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3936, allocations: 4 kB / 0.5265 GB, free: 23.69 MB / 378.7 MB Notification: Performance of Templates: time 0.006643/0.4002, allocations: 3.856 MB / 0.5302 GB, free: 23.4 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches