Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009087/0.3304, allocations: 8.1 MB / 0.5384 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.3363, allocations: 2.633 MB / 0.541 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.3376, allocations: 38.16 kB / 0.541 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.3401, allocations: 1.295 MB / 0.5423 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.3415, allocations: 470.5 kB / 0.5428 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.3424, allocations: 419.5 kB / 0.5432 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.3438, allocations: 1.031 MB / 0.5442 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.3452, allocations: 1.204 MB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.3459, allocations: 0.5264 MB / 0.5459 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.3469, allocations: 0.774 MB / 0.5466 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.3471, allocations: 116 kB / 0.5467 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009084/0.348, allocations: 0.5772 MB / 0.5473 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000597/0.3486, allocations: 0.7091 MB / 0.548 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.3493, allocations: 0.7959 MB / 0.5488 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.352, allocations: 2.497 MB / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.352, allocations: 0 / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.352, allocations: 0 / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.867e-05/0.352, allocations: 0 / 0.5512 GB, free: 12.55 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004525/0.3566, allocations: 2.173 MB / 0.5533 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3566, allocations: 12.03 kB / 0.5533 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.357, allocations: 288.6 kB / 0.5536 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3581, allocations: 287.4 kB / 0.5539 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.3596, allocations: 0.854 MB / 0.5547 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.3597, allocations: 86.7 kB / 0.5548 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.3599, allocations: 127.9 kB / 0.5549 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.3669, allocations: 4.287 MB / 0.5591 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.367, allocations: 7.938 kB / 0.5591 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.3671, allocations: 59.94 kB / 0.5592 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009902/0.3681, allocations: 0.7248 MB / 0.5599 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007055/0.3752, allocations: 3.508 MB / 0.5633 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.3911, allocations: 14.26 MB / 0.5772 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.3952, allocations: 1.212 MB / 0.5784 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.396, allocations: 0.6975 MB / 0.5791 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005018/0.401, allocations: 3.703 MB / 0.5827 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4011, allocations: 46.92 kB / 0.5828 GB, free: 11.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.4011, allocations: 0 / 0.5828 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006337/0.4074, allocations: 1.773 MB / 0.5845 GB, free: 9.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.4075, allocations: 59.34 kB / 0.5845 GB, free: 9.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.4094, allocations: 1.476 MB / 0.586 GB, free: 7.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.4095, allocations: 33.7 kB / 0.586 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.4103, allocations: 1.245 MB / 0.5872 GB, free: 6.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4105, allocations: 182.8 kB / 0.5874 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.4109, allocations: 435.5 kB / 0.5878 GB, free: 5.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4111, allocations: 353.9 kB / 0.5882 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.4117, allocations: 483.9 kB / 0.5886 GB, free: 5.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.4133, allocations: 1.897 MB / 0.5905 GB, free: 2.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.4157, allocations: 2.601 MB / 0.593 GB, free: 15.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.4157, allocations: 16 kB / 0.593 GB, free: 15.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003281/0.419, allocations: 2.263 MB / 0.5952 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.419, allocations: 31.94 kB / 0.5953 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/0.4191, allocations: 52 kB / 0.5953 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.22e-05/0.4192, allocations: 64.81 kB / 0.5954 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4204, allocations: 495 kB / 0.5959 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.352e-05/0.4205, allocations: 103.6 kB / 0.596 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4218, allocations: 309.7 kB / 0.5963 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.422, allocations: 136 kB / 0.5964 GB, free: 11.74 MB / 462.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.000952/0.4229, allocations: 0.758 MB / 0.5971 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4231, allocations: 127.1 kB / 0.5972 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.4233, allocations: 148.4 kB / 0.5974 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4234, allocations: 7.938 kB / 0.5974 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4234, allocations: 0 / 0.5974 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4234, allocations: 3.984 kB / 0.5974 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.4272, allocations: 2.894 MB / 0.6002 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.4272, allocations: 15.94 kB / 0.6002 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.4276, allocations: 99.77 kB / 0.6003 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.4276, allocations: 16 kB / 0.6003 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.4276, allocations: 28 kB / 0.6004 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/0.4276, allocations: 19.92 kB / 0.6004 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.4277, allocations: 19.94 kB / 0.6004 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.4286, allocations: 0.8799 MB / 0.6013 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.4289, allocations: 212.1 kB / 0.6015 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.429, allocations: 31.98 kB / 0.6015 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.4295, allocations: 23.98 kB / 0.6015 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.4296, allocations: 79.58 kB / 0.6016 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.4296, allocations: 28 kB / 0.6016 GB, free: 5.922 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.4308, allocations: 0.9089 MB / 0.6025 GB, free: 5.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4308, allocations: 0 / 0.6025 GB, free: 5.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001967/0.4328, allocations: 407 kB / 0.6029 GB, free: 4.613 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.001366/0.4342, allocations: 1.453 MB / 0.6043 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.436, allocations: 1.213 MB / 0.6055 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.436, allocations: 4 kB / 0.6055 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.4363, allocations: 242.5 kB / 0.6057 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.4375, allocations: 206.9 kB / 0.6059 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.4546, allocations: 14.07 MB / 0.6197 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.4559, allocations: 1.528 MB / 0.6212 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.4572, allocations: 0.5776 MB / 0.6217 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.4579, allocations: 0.6086 MB / 0.6223 GB, free: 14.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4579, allocations: 0 / 0.6223 GB, free: 14.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.5016, allocations: 22.88 MB / 0.6447 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.15, allocations: 4.828 kB / 0.6447 GB, free: 7.801 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches