Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.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.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",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.001573/0.001573, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001614/0.001614, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2257/0.2257, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00856/0.3181, allocations: 8.121 MB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.3237, allocations: 2.603 MB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3248, allocations: 38.22 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.3275, allocations: 1.276 MB / 0.5302 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.3287, allocations: 456.9 kB / 0.5306 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.3297, allocations: 411.3 kB / 0.531 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.331, allocations: 1.057 MB / 0.532 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3324, allocations: 1.21 MB / 0.5332 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.333, allocations: 0.5299 MB / 0.5337 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.3341, allocations: 0.7691 MB / 0.5345 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.3343, allocations: 115.3 kB / 0.5346 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000967/0.3353, allocations: 0.5861 MB / 0.5352 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.336, allocations: 0.7136 MB / 0.5359 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008362/0.3369, allocations: 0.8032 MB / 0.5367 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.3403, allocations: 2.514 MB / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3404, allocations: 0 / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3404, allocations: 0 / 0.5391 GB, free: 5.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.3405, allocations: 1.156 kB / 0.5391 GB, free: 5.328 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.00528/0.3458, allocations: 2.184 MB / 0.5412 GB, free: 3.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3459, allocations: 9.438 kB / 0.5413 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/0.3463, allocations: 289.9 kB / 0.5415 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.3474, allocations: 294.2 kB / 0.5418 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.349, allocations: 0.8511 MB / 0.5426 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.796e-05/0.349, allocations: 90.02 kB / 0.5427 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.3493, allocations: 131.3 kB / 0.5429 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008024/0.3573, allocations: 4.275 MB / 0.547 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.3574, allocations: 11.88 kB / 0.547 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.3576, allocations: 63.94 kB / 0.5471 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/0.3588, allocations: 0.7209 MB / 0.5478 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007633/0.3664, allocations: 3.5 MB / 0.5512 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.3841, allocations: 14.26 MB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.3883, allocations: 1.215 MB / 0.5663 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009504/0.3892, allocations: 0.6976 MB / 0.567 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005257/0.3945, allocations: 3.703 MB / 0.5706 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3946, allocations: 34.89 kB / 0.5707 GB, free: 5.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 4.549e-06/0.3946, allocations: 4 kB / 0.5707 GB, free: 5.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006414/0.401, allocations: 1.773 MB / 0.5724 GB, free: 3.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4011, allocations: 59.34 kB / 0.5725 GB, free: 3.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.4033, allocations: 1.492 MB / 0.5739 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.4033, allocations: 29.7 kB / 0.5739 GB, free: 2.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009513/0.4043, allocations: 1.241 MB / 0.5752 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.4045, allocations: 182.8 kB / 0.5753 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/0.405, allocations: 439.5 kB / 0.5758 GB, free: 264 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4052, allocations: 353.9 kB / 0.5761 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.406, allocations: 487.9 kB / 0.5766 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.4079, allocations: 1.89 MB / 0.5784 GB, free: 12.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.4109, allocations: 2.597 MB / 0.5809 GB, free: 9.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.4109, allocations: 12 kB / 0.581 GB, free: 9.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003611/0.4145, allocations: 2.279 MB / 0.5832 GB, free: 7.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.4146, allocations: 27.94 kB / 0.5832 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/0.4147, allocations: 52 kB / 0.5833 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.61e-05/0.4147, allocations: 68 kB / 0.5833 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.416, allocations: 495 kB / 0.5838 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.101e-05/0.4162, allocations: 95.59 kB / 0.5839 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4175, allocations: 318.2 kB / 0.5842 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.4177, allocations: 132 kB / 0.5843 GB, free: 6.051 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * 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.001116/0.4188, allocations: 0.7542 MB / 0.585 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.419, allocations: 135 kB / 0.5852 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.4193, allocations: 144.5 kB / 0.5853 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4193, allocations: 7.938 kB / 0.5853 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4193, allocations: 4 kB / 0.5853 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4193, allocations: 0 / 0.5853 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.4233, allocations: 2.898 MB / 0.5882 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.4234, allocations: 20.12 kB / 0.5882 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.4237, allocations: 103.8 kB / 0.5883 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.4237, allocations: 16 kB / 0.5883 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.4238, allocations: 20 kB / 0.5883 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-05/0.4238, allocations: 27.86 kB / 0.5883 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/0.4238, allocations: 19.88 kB / 0.5884 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4248, allocations: 0.8798 MB / 0.5892 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.4251, allocations: 216.1 kB / 0.5894 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4253, allocations: 27.98 kB / 0.5894 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.4257, allocations: 27.98 kB / 0.5895 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.4258, allocations: 71.64 kB / 0.5895 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.4259, allocations: 28 kB / 0.5896 GB, free: 224 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.4272, allocations: 0.9171 MB / 0.5905 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4272, allocations: 0 / 0.5905 GB, free: 15.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4288, allocations: 407 kB / 0.5909 GB, free: 14.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.001418/0.4303, allocations: 1.453 MB / 0.5923 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.4322, allocations: 1.205 MB / 0.5934 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.4322, allocations: 4.062 kB / 0.5935 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.4326, allocations: 242.5 kB / 0.5937 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4337, allocations: 216.4 kB / 0.5939 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.4528, allocations: 14.1 MB / 0.6077 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.4543, allocations: 1.532 MB / 0.6092 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001333/0.4557, allocations: 0.5777 MB / 0.6097 GB, free: 9.418 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/0.4565, allocations: 0.6125 MB / 0.6103 GB, free: 8.805 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4565, allocations: 0 / 0.6103 GB, free: 8.805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.5099, allocations: 22.95 MB / 0.6327 GB, free: 2.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.61, allocations: 5.016 kB / 0.6327 GB, free: 2.016 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_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_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches