Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",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.00123/0.00123, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001272/0.001272, allocations: 185 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.21/0.21, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3193, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.012/0.3313, allocations: 11.43 MB / 0.5296 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007545/0.3389, allocations: 2.799 MB / 0.5323 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.3415, allocations: 55.09 kB / 0.5324 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.3449, allocations: 1.326 MB / 0.5337 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.3482, allocations: 1.291 MB / 0.5349 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.3487, allocations: 69.91 kB / 0.535 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.3531, allocations: 2.794 MB / 0.5377 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.356, allocations: 1.774 MB / 0.5394 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.3583, allocations: 1.062 MB / 0.5405 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.3608, allocations: 1.486 MB / 0.5419 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008086/0.3617, allocations: 210.2 kB / 0.5421 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.3633, allocations: 498.9 kB / 0.5426 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3652, allocations: 1.459 MB / 0.544 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.3678, allocations: 1.739 MB / 0.5457 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007557/0.3753, allocations: 5.568 MB / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3754, allocations: 0 / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3754, allocations: 0 / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002389/0.3757, allocations: 0 / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007803/0.3835, allocations: 3.777 MB / 0.5549 GB, free: 6.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3835, allocations: 19.95 kB / 0.5549 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.385, allocations: 0.6758 MB / 0.5555 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.3951, allocations: 3.009 MB / 0.5585 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.3988, allocations: 1.569 MB / 0.56 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.3991, allocations: 172.6 kB / 0.5602 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008188/0.3999, allocations: 223.8 kB / 0.5604 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.4166, allocations: 9.71 MB / 0.5699 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.805e-05/0.4167, allocations: 19.81 kB / 0.5699 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007587/0.4175, allocations: 107.8 kB / 0.57 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004145/0.4216, allocations: 2.436 MB / 0.5724 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.4378, allocations: 8.812 MB / 0.581 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.4827, allocations: 30.6 MB / 0.6109 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/0.4881, allocations: 3.27 MB / 0.6141 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.4894, allocations: 0.9258 MB / 0.615 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/0.4895, allocations: 12.98 kB / 0.615 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4895, allocations: 43.56 kB / 0.615 GB, free: 7.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.378e-06/0.4895, allocations: 4.562 kB / 0.615 GB, free: 7.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.007543/0.4971, allocations: 3.387 MB / 0.6183 GB, free: 4.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4972, allocations: 64.34 kB / 0.6184 GB, free: 3.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/0.5022, allocations: 3.128 MB / 0.6214 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5024, allocations: 45.69 kB / 0.6215 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002181/0.5046, allocations: 2.791 MB / 0.6242 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/0.5052, allocations: 0.5892 MB / 0.6248 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/0.5067, allocations: 0.9806 MB / 0.6257 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5068, allocations: 301.1 kB / 0.626 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.5091, allocations: 1.528 MB / 0.6275 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/0.5134, allocations: 4.451 MB / 0.6319 GB, free: 4.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007265/0.5207, allocations: 6.539 MB / 0.6383 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.018e-05/0.5208, allocations: 28 kB / 0.6383 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009791/0.5306, allocations: 5.845 MB / 0.644 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/0.5307, allocations: 48 kB / 0.644 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/0.5309, allocations: 104 kB / 0.6441 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.5311, allocations: 140.1 kB / 0.6443 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.5345, allocations: 1.06 MB / 0.6453 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001892/0.5347, allocations: 203.2 kB / 0.6455 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/0.5379, allocations: 0.6939 MB / 0.6462 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004863/0.5384, allocations: 296 kB / 0.6465 GB, free: 4.203 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.00289/0.5413, allocations: 1.954 MB / 0.6484 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.5417, allocations: 270.1 kB / 0.6486 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.5425, allocations: 327.8 kB / 0.6489 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/0.5426, allocations: 19.94 kB / 0.649 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.5426, allocations: 4 kB / 0.649 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5426, allocations: 3.984 kB / 0.649 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5547, allocations: 6.886 MB / 0.6557 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.5547, allocations: 8 kB / 0.6557 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.5555, allocations: 175.7 kB / 0.6559 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.5556, allocations: 8 kB / 0.6559 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/0.5557, allocations: 31.94 kB / 0.6559 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/0.5557, allocations: 19.92 kB / 0.6559 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5557, allocations: 11.94 kB / 0.6559 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.5586, allocations: 2.273 MB / 0.6581 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009498/0.5596, allocations: 366.9 kB / 0.6585 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/0.5603, allocations: 27.94 kB / 0.6585 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5615, allocations: 47.94 kB / 0.6586 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5616, allocations: 76.45 kB / 0.6586 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5618, allocations: 51.98 kB / 0.6587 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003813/0.5656, allocations: 1.979 MB / 0.6606 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5656, allocations: 0 / 0.6606 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004629/0.5702, allocations: 1.032 MB / 0.6616 GB, free: 4.352 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (100): * Single equations (assignments): 94 * Array equations: 6 * 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.003798/0.574, allocations: 2.911 MB / 0.6645 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005673/0.5797, allocations: 3.581 MB / 0.668 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5798, allocations: 0 / 0.668 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5809, allocations: 0.9201 MB / 0.6689 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.5829, allocations: 337.3 kB / 0.6692 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04811/0.631, allocations: 33.53 MB / 0.7019 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/0.6352, allocations: 3.016 MB / 0.7049 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003616/0.6388, allocations: 1.722 MB / 0.7066 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/0.641, allocations: 1.538 MB / 0.7081 GB, free: 368 kB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.641, allocations: 0 / 0.7081 GB, free: 368 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/0.9466, allocations: 45.66 MB / 0.7526 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.98, allocations: 0 / 0.7526 GB, free: 178.3 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_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_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches