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.00141/0.00141, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001429/0.001429, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2216/0.2216, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.0117/0.3176, allocations: 11.42 MB / 0.5296 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.3243, allocations: 2.804 MB / 0.5323 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3258, allocations: 59.28 kB / 0.5324 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.3285, allocations: 1.319 MB / 0.5337 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.3317, allocations: 1.249 MB / 0.5349 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3321, allocations: 74.34 kB / 0.5349 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003757/0.3359, allocations: 2.798 MB / 0.5377 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.3384, allocations: 1.778 MB / 0.5394 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3403, allocations: 1.07 MB / 0.5405 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.3425, allocations: 1.485 MB / 0.5419 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.3431, allocations: 205.5 kB / 0.5421 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3443, allocations: 494.8 kB / 0.5426 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.3458, allocations: 1.448 MB / 0.544 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.3478, allocations: 1.746 MB / 0.5457 GB, free: 60 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.3546, allocations: 5.566 MB / 0.5511 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3546, allocations: 0 / 0.5511 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3546, allocations: 0 / 0.5511 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3548, allocations: 0 / 0.5511 GB, free: 10.46 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.00668/0.3615, allocations: 3.78 MB / 0.5548 GB, free: 6.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3615, allocations: 8.031 kB / 0.5548 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.3626, allocations: 0.6875 MB / 0.5555 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3731, allocations: 3.001 MB / 0.5584 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.3766, allocations: 1.557 MB / 0.56 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.3768, allocations: 184.6 kB / 0.5601 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007396/0.3775, allocations: 231.8 kB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.3932, allocations: 9.694 MB / 0.5698 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.097e-05/0.3933, allocations: 19.81 kB / 0.5698 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.3937, allocations: 111.8 kB / 0.5699 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004234/0.3979, allocations: 2.439 MB / 0.5723 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.4148, allocations: 8.812 MB / 0.5809 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04555/0.4604, allocations: 30.6 MB / 0.6108 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006016/0.4665, allocations: 3.27 MB / 0.614 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.468, allocations: 0.9257 MB / 0.6149 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.4681, allocations: 16.98 kB / 0.6149 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4681, allocations: 39.56 kB / 0.615 GB, free: 7.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.517e-06/0.4681, allocations: 0 / 0.615 GB, free: 7.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.007798/0.4759, allocations: 3.383 MB / 0.6183 GB, free: 4.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.4761, allocations: 76.28 kB / 0.6183 GB, free: 3.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/0.4809, allocations: 3.132 MB / 0.6214 GB, free: 0.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4811, allocations: 45.69 kB / 0.6214 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002348/0.4835, allocations: 2.787 MB / 0.6242 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/0.4842, allocations: 0.5853 MB / 0.6247 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.4856, allocations: 0.9845 MB / 0.6257 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4858, allocations: 301.1 kB / 0.626 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/0.4883, allocations: 1.536 MB / 0.6275 GB, free: 10.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/0.494, allocations: 4.447 MB / 0.6318 GB, free: 4.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008595/0.5026, allocations: 6.535 MB / 0.6382 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.548e-05/0.5027, allocations: 32 kB / 0.6382 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01137/0.5141, allocations: 5.845 MB / 0.6439 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.5142, allocations: 48 kB / 0.644 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.5144, allocations: 104 kB / 0.6441 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.5145, allocations: 136 kB / 0.6442 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.5178, allocations: 1.06 MB / 0.6453 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001905/0.518, allocations: 207.2 kB / 0.6455 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.5214, allocations: 0.6939 MB / 0.6461 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005616/0.522, allocations: 296.2 kB / 0.6464 GB, free: 4.23 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.003194/0.5252, allocations: 1.942 MB / 0.6483 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.5256, allocations: 274.2 kB / 0.6486 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.5263, allocations: 335.8 kB / 0.6489 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.5264, allocations: 19.94 kB / 0.6489 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5264, allocations: 0 / 0.6489 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5264, allocations: 11.97 kB / 0.6489 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.5381, allocations: 6.874 MB / 0.6556 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5381, allocations: 8 kB / 0.6556 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.5389, allocations: 176.6 kB / 0.6558 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.5389, allocations: 15.94 kB / 0.6558 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.539, allocations: 35.97 kB / 0.6559 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.539, allocations: 15.94 kB / 0.6559 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5391, allocations: 8 kB / 0.6559 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.5421, allocations: 2.269 MB / 0.6581 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/0.5428, allocations: 358.9 kB / 0.6584 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.5431, allocations: 27.94 kB / 0.6585 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.5439, allocations: 51.94 kB / 0.6585 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.544, allocations: 88.38 kB / 0.6586 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/0.5442, allocations: 44 kB / 0.6586 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003083/0.5472, allocations: 1.983 MB / 0.6606 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.139e-05/0.5473, allocations: 0 / 0.6606 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003549/0.5508, allocations: 1.032 MB / 0.6616 GB, free: 4.383 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.003565/0.5544, allocations: 2.918 MB / 0.6644 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005682/0.5601, allocations: 3.578 MB / 0.6679 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5601, allocations: 0 / 0.6679 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.5614, allocations: 0.9185 MB / 0.6688 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5631, allocations: 326.7 kB / 0.6691 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04981/0.6129, allocations: 33.53 MB / 0.7019 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/0.6165, allocations: 3.012 MB / 0.7048 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00354/0.6201, allocations: 1.726 MB / 0.7065 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/0.6222, allocations: 1.538 MB / 0.708 GB, free: 412 kB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.6223, allocations: 0 / 0.708 GB, free: 412 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/0.9263, allocations: 45.66 MB / 0.7526 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.7, allocations: 4.062 kB / 0.7526 GB, free: 176.1 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