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.001165/0.001165, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001201/0.001202, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.432/1.432, 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.2143/0.2143, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.83 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.352, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003348/0.3554, allocations: 2.801 MB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3569, allocations: 0.9454 MB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3572, allocations: 8.969 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3574, allocations: 55 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3576, allocations: 107.1 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.3582, allocations: 144 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.3586, allocations: 381.4 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3588, allocations: 95.06 kB / 0.5228 GB, free: 208 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.359, allocations: 144.1 kB / 0.5229 GB, free: 140 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3592, allocations: 148 kB / 0.5231 GB, free: 68 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.3592, allocations: 26.94 kB / 0.5231 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3594, allocations: 46 kB / 0.5232 GB, free: 60 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3594, allocations: 65.25 kB / 0.5232 GB, free: 16 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.3596, allocations: 164.1 kB / 0.5234 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3602, allocations: 373.8 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3602, allocations: 1.188 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3602, allocations: 4 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3602, allocations: 0 / 0.5237 GB, free: 15.77 MB / 398.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.00104/0.3612, allocations: 0.6346 MB / 0.5244 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3613, allocations: 11.33 kB / 0.5244 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.3614, allocations: 66.39 kB / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.3617, allocations: 49.08 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3621, allocations: 274 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3621, allocations: 24.69 kB / 0.5248 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3621, allocations: 27.94 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.3627, allocations: 306 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.3628, allocations: 11.2 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.3628, allocations: 11.53 kB / 0.5251 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3628, allocations: 7.906 kB / 0.5251 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.3632, allocations: 196.6 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.3651, allocations: 1.288 MB / 0.5266 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.3657, allocations: 341.2 kB / 0.5269 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3659, allocations: 112.8 kB / 0.527 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3659, allocations: 4.125 kB / 0.527 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3659, allocations: 39.95 kB / 0.527 GB, free: 13.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.943e-06/0.3659, allocations: 0 / 0.527 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002568/0.3685, allocations: 1.595 MB / 0.5286 GB, free: 11.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3686, allocations: 158.8 kB / 0.5287 GB, free: 11.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3689, allocations: 221.8 kB / 0.5289 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3689, allocations: 30.95 kB / 0.529 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.369, allocations: 185.9 kB / 0.5292 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3691, allocations: 165.9 kB / 0.5293 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3693, allocations: 82.06 kB / 0.5294 GB, free: 11.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3694, allocations: 341.3 kB / 0.5297 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3696, allocations: 96.8 kB / 0.5298 GB, free: 10.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3699, allocations: 236.3 kB / 0.53 GB, free: 10.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.3703, allocations: 368.3 kB / 0.5304 GB, free: 10.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3703, allocations: 1 kB / 0.5304 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006186/0.371, allocations: 420.8 kB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.371, allocations: 6.281 kB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.371, allocations: 5.625 kB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3711, allocations: 11.78 kB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.3715, allocations: 117.8 kB / 0.5309 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.3715, allocations: 11.94 kB / 0.5309 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3717, allocations: 19.27 kB / 0.531 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3717, allocations: 20.78 kB / 0.531 GB, free: 10.06 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.0001694/0.3719, allocations: 162.1 kB / 0.5311 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3721, allocations: 31.75 kB / 0.5312 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3723, allocations: 119.4 kB / 0.5313 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3723, allocations: 9.625 kB / 0.5313 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.3724, allocations: 5.281 kB / 0.5313 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3724, allocations: 6.359 kB / 0.5313 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.3741, allocations: 1.034 MB / 0.5323 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3742, allocations: 6.594 kB / 0.5323 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.3746, allocations: 97.31 kB / 0.5324 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.3746, allocations: 12.58 kB / 0.5324 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.3747, allocations: 14.06 kB / 0.5324 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3747, allocations: 4.438 kB / 0.5324 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3747, allocations: 4.281 kB / 0.5324 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.3756, allocations: 0.8273 MB / 0.5332 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.3757, allocations: 107.2 kB / 0.5333 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.3757, allocations: 10.09 kB / 0.5334 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.3761, allocations: 13.25 kB / 0.5334 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3762, allocations: 33.62 kB / 0.5334 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3762, allocations: 15.42 kB / 0.5334 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3764, allocations: 160.4 kB / 0.5336 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3764, allocations: 1.094 kB / 0.5336 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.377, allocations: 80.91 kB / 0.5336 GB, free: 7.895 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.001143/0.3781, allocations: 1.376 MB / 0.535 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.3787, allocations: 277 kB / 0.5353 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3787, allocations: 1.5 kB / 0.5353 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3789, allocations: 134.9 kB / 0.5354 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.3798, allocations: 78.95 kB / 0.5355 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.3853, allocations: 4.027 MB / 0.5394 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.3858, allocations: 0.7855 MB / 0.5402 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.386, allocations: 41.08 kB / 0.5402 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3862, allocations: 107.9 kB / 0.5403 GB, free: 2.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.835e-06/0.3862, allocations: 1.094 kB / 0.5403 GB, free: 2.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.4113, allocations: 6.423 MB / 0.5466 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.679, allocations: 14.14 kB / 0.5466 GB, free: 14.16 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