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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 113.4 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 60.83 MB / 0.5184 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0038/0.3484, allocations: 2.791 MB / 0.5211 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3499, allocations: 0.9453 MB / 0.522 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3501, allocations: 13.25 kB / 0.5221 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3503, allocations: 54.84 kB / 0.5221 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3505, allocations: 93.36 kB / 0.5222 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.351, allocations: 148.9 kB / 0.5223 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.3514, allocations: 376.2 kB / 0.5227 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3516, allocations: 94.33 kB / 0.5228 GB, free: 480 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3517, allocations: 138.3 kB / 0.5229 GB, free: 416 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.3519, allocations: 147.8 kB / 0.5231 GB, free: 344 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.352, allocations: 29.84 kB / 0.5231 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3521, allocations: 47.92 kB / 0.5231 GB, free: 332 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.3522, allocations: 72.23 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3523, allocations: 159.3 kB / 0.5234 GB, free: 188 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.3528, allocations: 379 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3528, allocations: 0 / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3528, allocations: 1.438 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3528, allocations: 0.5625 kB / 0.5237 GB, free: 36 kB / 382.1 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.001112/0.3539, allocations: 0.6296 MB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.354, allocations: 13.06 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.071e-05/0.3541, allocations: 66.98 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.3543, allocations: 49.83 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.3548, allocations: 281 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3548, allocations: 21.25 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.3549, allocations: 33.38 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.3555, allocations: 297.4 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.3555, allocations: 7.578 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3555, allocations: 18.53 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3556, allocations: 7.375 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.356, allocations: 205.2 kB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.358, allocations: 1.283 MB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.3586, allocations: 339.1 kB / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3588, allocations: 104.3 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3589, allocations: 8.062 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3589, allocations: 42.11 kB / 0.527 GB, free: 13.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 3.777e-06/0.3589, allocations: 5.359 kB / 0.527 GB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002667/0.3616, allocations: 1.583 MB / 0.5286 GB, free: 12.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3617, allocations: 159.5 kB / 0.5287 GB, free: 12.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3619, allocations: 230 kB / 0.5289 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.362, allocations: 32.33 kB / 0.529 GB, free: 11.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3621, allocations: 177.3 kB / 0.5291 GB, free: 11.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3623, allocations: 165.3 kB / 0.5293 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3624, allocations: 80.97 kB / 0.5294 GB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3626, allocations: 342.3 kB / 0.5297 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3628, allocations: 99.7 kB / 0.5298 GB, free: 11.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.3631, allocations: 238 kB / 0.53 GB, free: 10.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.3636, allocations: 370.4 kB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3637, allocations: 5.281 kB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006854/0.3643, allocations: 414.2 kB / 0.5308 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3644, allocations: 6.688 kB / 0.5308 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3644, allocations: 5.219 kB / 0.5308 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.3644, allocations: 11.22 kB / 0.5308 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.3648, allocations: 126.6 kB / 0.5309 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3649, allocations: 7.375 kB / 0.5309 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3651, allocations: 19.8 kB / 0.5309 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3651, allocations: 23.91 kB / 0.531 GB, free: 10.28 MB / 398.1 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.0001893/0.3653, allocations: 158 kB / 0.5311 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3654, allocations: 31.56 kB / 0.5311 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.3657, allocations: 120.7 kB / 0.5313 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3657, allocations: 8.406 kB / 0.5313 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3657, allocations: 6.031 kB / 0.5313 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3657, allocations: 5.141 kB / 0.5313 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.3673, allocations: 1.027 MB / 0.5323 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3674, allocations: 6.984 kB / 0.5323 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.3678, allocations: 91.69 kB / 0.5324 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3678, allocations: 9.25 kB / 0.5324 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.3678, allocations: 17.77 kB / 0.5324 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.3679, allocations: 4.531 kB / 0.5324 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3679, allocations: 4.156 kB / 0.5324 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.3688, allocations: 0.8279 MB / 0.5332 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3689, allocations: 111.2 kB / 0.5333 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3689, allocations: 11 kB / 0.5333 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.3692, allocations: 8.594 kB / 0.5333 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.3693, allocations: 41.45 kB / 0.5334 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.3693, allocations: 19.8 kB / 0.5334 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3695, allocations: 152.9 kB / 0.5336 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3695, allocations: 0 / 0.5336 GB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.3701, allocations: 84.91 kB / 0.5336 GB, free: 8.117 MB / 398.1 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 0.001207/0.3713, allocations: 1.382 MB / 0.535 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.3718, allocations: 277.7 kB / 0.5352 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3719, allocations: 9.562 kB / 0.5353 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3721, allocations: 132.5 kB / 0.5354 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.373, allocations: 68.8 kB / 0.5354 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.3783, allocations: 4.026 MB / 0.5394 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.3788, allocations: 0.7847 MB / 0.5401 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.379, allocations: 37.67 kB / 0.5402 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3792, allocations: 107.6 kB / 0.5403 GB, free: 2.496 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3792, allocations: 1.656 kB / 0.5403 GB, free: 2.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.4119, allocations: 6.435 MB / 0.5466 GB, free: 14.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.621/9.033, allocations: 23.39 kB / 0.5466 GB, free: 14.32 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches