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.001697/0.001697, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001845/0.001845, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2014/0.2014, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.88 kB / 470 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3208, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003238/0.3241, allocations: 2.801 MB / 0.5211 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3256, allocations: 0.9467 MB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.3258, allocations: 9.5 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3259, allocations: 50.05 kB / 0.5221 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.3262, allocations: 101.6 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3267, allocations: 147.7 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.327, allocations: 376.8 kB / 0.5227 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3272, allocations: 95.14 kB / 0.5228 GB, free: 220 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3274, allocations: 148.5 kB / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3276, allocations: 144.7 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3276, allocations: 25.53 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3277, allocations: 43 kB / 0.5231 GB, free: 76 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.3278, allocations: 69.06 kB / 0.5232 GB, free: 28 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.328, allocations: 159.4 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3285, allocations: 380.4 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3285, allocations: 1.531 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3285, allocations: 0 / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3285, allocations: 5.125 kB / 0.5237 GB, free: 15.78 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.001065/0.3296, allocations: 0.6154 MB / 0.5243 GB, free: 15.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3296, allocations: 12.81 kB / 0.5243 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.3297, allocations: 68.53 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.3299, allocations: 48.28 kB / 0.5244 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3303, allocations: 277.2 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3304, allocations: 21.05 kB / 0.5247 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3304, allocations: 32.39 kB / 0.5248 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.3309, allocations: 301.8 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.331, allocations: 11.41 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.331, allocations: 14.94 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.331, allocations: 8 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.3314, allocations: 196.1 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.3333, allocations: 1.295 MB / 0.5265 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.3338, allocations: 329.7 kB / 0.5269 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.334, allocations: 113.2 kB / 0.527 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.334, allocations: 4.594 kB / 0.527 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3341, allocations: 43.66 kB / 0.527 GB, free: 13.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.694e-06/0.3341, allocations: 0 / 0.527 GB, free: 13.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002512/0.3366, allocations: 1.569 MB / 0.5285 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.3367, allocations: 159.4 kB / 0.5287 GB, free: 11.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.337, allocations: 225.3 kB / 0.5289 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.337, allocations: 31.92 kB / 0.5289 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3371, allocations: 182.1 kB / 0.5291 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3372, allocations: 152.6 kB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3374, allocations: 86.44 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3375, allocations: 341.1 kB / 0.5297 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3377, allocations: 92.97 kB / 0.5297 GB, free: 10.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.338, allocations: 239.7 kB / 0.53 GB, free: 10.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.3384, allocations: 381.3 kB / 0.5303 GB, free: 10.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3385, allocations: 1.75 kB / 0.5303 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006182/0.3391, allocations: 419.8 kB / 0.5307 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3391, allocations: 7.062 kB / 0.5308 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3391, allocations: 4.031 kB / 0.5308 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.3392, allocations: 12 kB / 0.5308 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.3396, allocations: 114.7 kB / 0.5309 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.3396, allocations: 14.8 kB / 0.5309 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3398, allocations: 16 kB / 0.5309 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3398, allocations: 20.22 kB / 0.5309 GB, free: 10.11 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.0001696/0.34, allocations: 161.5 kB / 0.5311 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3401, allocations: 27.72 kB / 0.5311 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3404, allocations: 119.8 kB / 0.5312 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3404, allocations: 9.375 kB / 0.5312 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3404, allocations: 6.062 kB / 0.5312 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3404, allocations: 5.047 kB / 0.5312 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.342, allocations: 1.026 MB / 0.5322 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.342, allocations: 3.781 kB / 0.5322 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.3424, allocations: 104 kB / 0.5323 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.3424, allocations: 5.906 kB / 0.5323 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3425, allocations: 17.67 kB / 0.5324 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3425, allocations: 4.875 kB / 0.5324 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3425, allocations: 2.875 kB / 0.5324 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.3433, allocations: 0.8243 MB / 0.5332 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3434, allocations: 114.9 kB / 0.5333 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.3435, allocations: 10.69 kB / 0.5333 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.3438, allocations: 8 kB / 0.5333 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.3439, allocations: 38.36 kB / 0.5333 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3439, allocations: 19.73 kB / 0.5334 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.3441, allocations: 152.2 kB / 0.5335 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3441, allocations: 4 kB / 0.5335 GB, free: 7.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.3446, allocations: 85.81 kB / 0.5336 GB, free: 7.949 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.001046/0.3457, allocations: 1.377 MB / 0.5349 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.3462, allocations: 273.2 kB / 0.5352 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3462, allocations: 1.594 kB / 0.5352 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3464, allocations: 135.1 kB / 0.5353 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008458/0.3472, allocations: 80.98 kB / 0.5354 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.3519, allocations: 4.006 MB / 0.5393 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.3523, allocations: 0.7855 MB / 0.5401 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.3525, allocations: 42.23 kB / 0.5401 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3527, allocations: 103.9 kB / 0.5402 GB, free: 2.352 MB / 398.1 MB Notification: Performance of SimCode: time 1.943e-06/0.3527, allocations: 0 / 0.5402 GB, free: 2.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.3795, allocations: 6.523 MB / 0.5466 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.397, allocations: 14.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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