Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",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.001381/0.001381, 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.002019/0.002019, 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.225/0.225, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.372, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004672/0.3767, allocations: 4.115 MB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3791, allocations: 1.07 MB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.3796, allocations: 14.69 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.38, allocations: 99.52 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.3806, allocations: 205.4 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.3813, allocations: 191.7 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3824, allocations: 0.7852 MB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.3828, allocations: 231.8 kB / 0.5249 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.3833, allocations: 313.7 kB / 0.5252 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.3837, allocations: 344.5 kB / 0.5256 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3838, allocations: 58.47 kB / 0.5256 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.384, allocations: 80.64 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3842, allocations: 149 kB / 0.5258 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.3845, allocations: 352.1 kB / 0.5262 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.3855, allocations: 0.7625 MB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3855, allocations: 5.375 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3856, allocations: 0.75 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.3856, allocations: 0 / 0.5269 GB, free: 13.82 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002168/0.3878, allocations: 1.019 MB / 0.5279 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3878, allocations: 13.62 kB / 0.5279 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3879, allocations: 96.58 kB / 0.528 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3881, allocations: 84.3 kB / 0.5281 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.3887, allocations: 403.4 kB / 0.5285 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.3887, allocations: 44.44 kB / 0.5285 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3888, allocations: 63.89 kB / 0.5286 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3901, allocations: 0.6242 MB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.3901, allocations: 11.98 kB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.3902, allocations: 20.59 kB / 0.5292 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.3902, allocations: 18.62 kB / 0.5293 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3915, allocations: 0.5332 MB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.3951, allocations: 2.152 MB / 0.5319 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.3967, allocations: 0.7072 MB / 0.5326 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.3975, allocations: 342.3 kB / 0.5329 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.3976, allocations: 101.1 kB / 0.533 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3977, allocations: 48.94 kB / 0.533 GB, free: 9.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.307e-06/0.3977, allocations: 0 / 0.533 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008869/0.4066, allocations: 4.542 MB / 0.5375 GB, free: 5.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4067, allocations: 222.6 kB / 0.5377 GB, free: 5.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.4072, allocations: 371.6 kB / 0.538 GB, free: 5.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.4072, allocations: 45.11 kB / 0.5381 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4074, allocations: 272.4 kB / 0.5383 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.4077, allocations: 427.9 kB / 0.5388 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.408, allocations: 179.7 kB / 0.5389 GB, free: 4.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4082, allocations: 382.8 kB / 0.5393 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.4088, allocations: 314.8 kB / 0.5396 GB, free: 4.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.4097, allocations: 0.5092 MB / 0.5401 GB, free: 3.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.4114, allocations: 0.8718 MB / 0.5409 GB, free: 3.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4114, allocations: 5.469 kB / 0.5409 GB, free: 3.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002408/0.4138, allocations: 1.007 MB / 0.5419 GB, free: 2.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.4139, allocations: 7.562 kB / 0.5419 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4139, allocations: 4.281 kB / 0.5419 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.411e-05/0.414, allocations: 10.88 kB / 0.542 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4152, allocations: 282.6 kB / 0.5422 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.4153, allocations: 13.83 kB / 0.5422 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.4159, allocations: 51.22 kB / 0.5423 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/0.416, allocations: 42.62 kB / 0.5423 GB, free: 2.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004022/0.4164, allocations: 228.2 kB / 0.5425 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.4167, allocations: 89.42 kB / 0.5426 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.4172, allocations: 218.4 kB / 0.5428 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.4172, allocations: 12 kB / 0.5428 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/0.4172, allocations: 4 kB / 0.5429 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4172, allocations: 11.97 kB / 0.5429 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.4212, allocations: 2.328 MB / 0.5451 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4212, allocations: 4 kB / 0.5451 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.4223, allocations: 247.7 kB / 0.5454 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.4224, allocations: 11.94 kB / 0.5454 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.4224, allocations: 31.98 kB / 0.5454 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.4225, allocations: 11.94 kB / 0.5454 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.4225, allocations: 8.281 kB / 0.5454 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.4252, allocations: 1.894 MB / 0.5473 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.4256, allocations: 200.7 kB / 0.5475 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.961e-05/0.4257, allocations: 31.88 kB / 0.5475 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.4263, allocations: 43.97 kB / 0.5476 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.4265, allocations: 92.31 kB / 0.5476 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.4265, allocations: 35.98 kB / 0.5477 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.4268, allocations: 247.2 kB / 0.5479 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4268, allocations: 4 kB / 0.5479 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.4278, allocations: 196 kB / 0.5481 GB, free: 12.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.00295/0.4307, allocations: 2.489 MB / 0.5505 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4324, allocations: 0.8506 MB / 0.5514 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4324, allocations: 0 / 0.5514 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008635/0.4333, allocations: 0.4915 MB / 0.5518 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4346, allocations: 124.7 kB / 0.552 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.4451, allocations: 7.24 MB / 0.559 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.4457, allocations: 0.9439 MB / 0.56 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004377/0.4461, allocations: 101.7 kB / 0.5601 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.4465, allocations: 263.3 kB / 0.5603 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4465, allocations: 4 kB / 0.5603 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.4838, allocations: 13.84 MB / 0.5738 GB, free: 2.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/9.396, allocations: 9.656 kB / 0.5738 GB, free: 2.012 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches