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.001718/0.001718, allocations: 113.8 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.001916/0.001916, 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.452/1.452, 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.221/0.221, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3252, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004788/0.33, allocations: 4.123 MB / 0.5224 GB, free: 384 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3325, allocations: 1.077 MB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.3333, allocations: 13.81 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.3338, allocations: 98.91 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.3349, allocations: 201.8 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.3359, allocations: 193.4 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.3373, allocations: 0.7842 MB / 0.5247 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.3378, allocations: 167.8 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.3384, allocations: 315 kB / 0.5252 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.339, allocations: 339.7 kB / 0.5255 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.3392, allocations: 59.12 kB / 0.5256 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.3395, allocations: 84.3 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3397, allocations: 148.2 kB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.3404, allocations: 349.9 kB / 0.5261 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3418, allocations: 0.7703 MB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3418, allocations: 0 / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3418, allocations: 1.156 kB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.3419, allocations: 0 / 0.5269 GB, free: 13.84 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.002478/0.3443, allocations: 1.015 MB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3444, allocations: 9.625 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.3445, allocations: 96.58 kB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3447, allocations: 84.3 kB / 0.5281 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.3454, allocations: 406.8 kB / 0.5284 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.3455, allocations: 49.06 kB / 0.5285 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3456, allocations: 63.98 kB / 0.5286 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3471, allocations: 0.627 MB / 0.5292 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.3472, allocations: 8.641 kB / 0.5292 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.3472, allocations: 21.16 kB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3472, allocations: 14.31 kB / 0.5292 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3486, allocations: 0.5441 MB / 0.5297 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.3524, allocations: 2.151 MB / 0.5318 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.3538, allocations: 0.676 MB / 0.5325 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.3546, allocations: 325.5 kB / 0.5328 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.3548, allocations: 94.22 kB / 0.5329 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3548, allocations: 52.44 kB / 0.533 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.287e-06/0.3548, allocations: 4 kB / 0.533 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.009534/0.3643, allocations: 4.533 MB / 0.5374 GB, free: 5.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.3645, allocations: 223.1 kB / 0.5376 GB, free: 5.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.365, allocations: 375.4 kB / 0.538 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.3651, allocations: 45.67 kB / 0.538 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3653, allocations: 272 kB / 0.5383 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.3657, allocations: 423.3 kB / 0.5387 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.3661, allocations: 179.9 kB / 0.5388 GB, free: 4.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3663, allocations: 383 kB / 0.5392 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.3671, allocations: 318.1 kB / 0.5395 GB, free: 4.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/0.368, allocations: 0.5045 MB / 0.54 GB, free: 3.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3697, allocations: 0.8709 MB / 0.5408 GB, free: 3.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3697, allocations: 1.125 kB / 0.5408 GB, free: 3.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002144/0.3718, allocations: 1.008 MB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.3718, allocations: 10.03 kB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3719, allocations: 5.594 kB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.3719, allocations: 9.969 kB / 0.5419 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.373, allocations: 282.2 kB / 0.5421 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/0.373, allocations: 19.02 kB / 0.5421 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.3736, allocations: 49.62 kB / 0.5422 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/0.3737, allocations: 38.59 kB / 0.5422 GB, free: 2.621 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.0004322/0.3741, allocations: 228.9 kB / 0.5424 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.3744, allocations: 84.33 kB / 0.5425 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/0.375, allocations: 220.5 kB / 0.5427 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.375, allocations: 12.94 kB / 0.5427 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.375, allocations: 1.969 kB / 0.5427 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.375, allocations: 18.06 kB / 0.5428 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.3796, allocations: 2.324 MB / 0.545 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.3796, allocations: 4 kB / 0.545 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3807, allocations: 251.7 kB / 0.5453 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.3808, allocations: 16.22 kB / 0.5453 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.3809, allocations: 32.05 kB / 0.5453 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.3809, allocations: 9.562 kB / 0.5453 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3809, allocations: 7.938 kB / 0.5453 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.3839, allocations: 1.906 MB / 0.5472 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.3844, allocations: 196.6 kB / 0.5474 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.3845, allocations: 31.94 kB / 0.5474 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.3853, allocations: 43.97 kB / 0.5475 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.3854, allocations: 84.33 kB / 0.5475 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/0.3855, allocations: 39.98 kB / 0.5476 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3858, allocations: 251.2 kB / 0.5478 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3858, allocations: 0 / 0.5478 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3869, allocations: 192 kB / 0.548 GB, free: 12.71 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.003516/0.3904, allocations: 2.489 MB / 0.5504 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.3923, allocations: 0.8075 MB / 0.5512 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.3923, allocations: 0 / 0.5512 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3934, allocations: 471.9 kB / 0.5517 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.3948, allocations: 133.5 kB / 0.5518 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.4072, allocations: 7.244 MB / 0.5589 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.4079, allocations: 0.94 MB / 0.5598 GB, free: 248 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.4084, allocations: 101.8 kB / 0.5599 GB, free: 144 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.4088, allocations: 267.4 kB / 0.5601 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4088, allocations: 0 / 0.5601 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.4548, allocations: 13.89 MB / 0.5737 GB, free: 2.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.474, allocations: 11.17 kB / 0.5737 GB, free: 2.133 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