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.001186/0.001186, allocations: 113.4 kB / 17.78 MB, free: 5.262 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.001154/0.001154, allocations: 184.9 kB / 18.71 MB, free: 4.344 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2306/0.2306, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.84 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003686/0.3521, allocations: 2.787 MB / 0.5211 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3537, allocations: 0.9451 MB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3539, allocations: 9.969 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3541, allocations: 54.48 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.3543, allocations: 100.6 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.3548, allocations: 148.4 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3552, allocations: 377.9 kB / 0.5227 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.3554, allocations: 93.39 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3556, allocations: 144 kB / 0.5229 GB, free: 156 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3558, allocations: 148.8 kB / 0.5231 GB, free: 84 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.3558, allocations: 25.5 kB / 0.5231 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.356, allocations: 43.72 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.356, allocations: 64.86 kB / 0.5232 GB, free: 36 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3562, allocations: 163.5 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3567, allocations: 378.2 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3567, allocations: 3.938 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3567, allocations: 0 / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.3567, allocations: 0 / 0.5237 GB, free: 15.79 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.001032/0.3578, allocations: 0.6202 MB / 0.5243 GB, free: 15.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3578, allocations: 8.969 kB / 0.5243 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.672e-05/0.3579, allocations: 67.28 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.3581, allocations: 50.44 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.3585, allocations: 280.3 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3586, allocations: 20.53 kB / 0.5247 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.3586, allocations: 33.97 kB / 0.5248 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.3591, allocations: 305.1 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.3592, allocations: 11.28 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3592, allocations: 11.56 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3592, allocations: 6.969 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.3596, allocations: 196.5 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.3614, allocations: 1.291 MB / 0.5265 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3619, allocations: 334.8 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.362, allocations: 107.2 kB / 0.527 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3621, allocations: 9.391 kB / 0.527 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3621, allocations: 37.97 kB / 0.527 GB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.3621, allocations: 0 / 0.527 GB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002459/0.3646, allocations: 1.578 MB / 0.5285 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.3647, allocations: 160.2 kB / 0.5287 GB, free: 11.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3649, allocations: 221.5 kB / 0.5289 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3649, allocations: 39.11 kB / 0.5289 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3651, allocations: 181.6 kB / 0.5291 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3652, allocations: 146.6 kB / 0.5293 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3653, allocations: 85.66 kB / 0.5293 GB, free: 11.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3655, allocations: 341.8 kB / 0.5297 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3656, allocations: 92.64 kB / 0.5297 GB, free: 10.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.3659, allocations: 245.4 kB / 0.53 GB, free: 10.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3664, allocations: 371.2 kB / 0.5303 GB, free: 10.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3664, allocations: 1.375 kB / 0.5303 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006695/0.3671, allocations: 424.1 kB / 0.5307 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3671, allocations: 6.844 kB / 0.5307 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3671, allocations: 5.625 kB / 0.5308 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3671, allocations: 15.41 kB / 0.5308 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3676, allocations: 113.7 kB / 0.5309 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.3676, allocations: 11.66 kB / 0.5309 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3678, allocations: 14.88 kB / 0.5309 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3678, allocations: 25.05 kB / 0.5309 GB, free: 10.1 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.0001523/0.368, allocations: 158.2 kB / 0.5311 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3681, allocations: 31.31 kB / 0.5311 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3684, allocations: 120 kB / 0.5312 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3684, allocations: 9.312 kB / 0.5312 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3684, allocations: 1.094 kB / 0.5312 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3684, allocations: 2.125 kB / 0.5312 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3699, allocations: 1.034 MB / 0.5322 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.37, allocations: 3.344 kB / 0.5322 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.3704, allocations: 100.4 kB / 0.5323 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.3704, allocations: 13.59 kB / 0.5324 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3704, allocations: 9.312 kB / 0.5324 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3705, allocations: 5.531 kB / 0.5324 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3705, allocations: 3.125 kB / 0.5324 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.3712, allocations: 0.8242 MB / 0.5332 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3713, allocations: 111.9 kB / 0.5333 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.3713, allocations: 17.7 kB / 0.5333 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.3717, allocations: 8.5 kB / 0.5333 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3717, allocations: 34.25 kB / 0.5333 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3717, allocations: 15.09 kB / 0.5334 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3719, allocations: 157.6 kB / 0.5335 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3719, allocations: 0 / 0.5335 GB, free: 7.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006/0.3725, allocations: 85.19 kB / 0.5336 GB, free: 7.941 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.001126/0.3736, allocations: 1.376 MB / 0.5349 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.3741, allocations: 278.9 kB / 0.5352 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3741, allocations: 0 / 0.5352 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3743, allocations: 135 kB / 0.5353 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/0.3753, allocations: 87.25 kB / 0.5354 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.3799, allocations: 4.003 MB / 0.5393 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3802, allocations: 0.7923 MB / 0.5401 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.3804, allocations: 42.55 kB / 0.5401 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3806, allocations: 104.1 kB / 0.5402 GB, free: 2.332 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3806, allocations: 3.938 kB / 0.5402 GB, free: 2.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.4079, allocations: 6.505 MB / 0.5466 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.647, allocations: 18.23 kB / 0.5466 GB, free: 14.14 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