Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_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.001377/0.001377, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.001425/0.001425, allocations: 189.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 222.8 MB, free: 4.914 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3461/0.3461, allocations: 43.49 MB / 313.6 MB, free: 8.391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 382.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.79 MB / 440.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.179/0.2811, allocations: 26.64 MB / 466.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.2909, allocations: 5.484 MB / 472.2 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004214/0.2952, allocations: 102.6 kB / 472.3 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.2976, allocations: 1.268 MB / 473.6 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.299, allocations: 0.4905 MB / 474.1 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.2999, allocations: 387.2 kB / 474.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3014, allocations: 1.251 MB / 475.7 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.3027, allocations: 1.358 MB / 477.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.3034, allocations: 0.618 MB / 477.7 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008796/0.3043, allocations: 0.909 MB / 478.6 MB, free: 30.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.3045, allocations: 126 kB / 478.7 MB, free: 30.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.3052, allocations: 0.592 MB / 479.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.3058, allocations: 0.8305 MB / 480.1 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.3064, allocations: 0.9382 MB / 481.1 MB, free: 29.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.3083, allocations: 2.77 MB / 483.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3084, allocations: 0 / 483.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3084, allocations: 0 / 483.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.448e-05/0.3084, allocations: 0 / 483.8 MB, free: 28.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003836/0.3123, allocations: 2.385 MB / 486.2 MB, free: 26.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3123, allocations: 13.02 kB / 486.2 MB, free: 26.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003467/0.3127, allocations: 344 kB / 486.6 MB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3138, allocations: 281.3 kB / 486.9 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.315, allocations: 0.8837 MB / 487.7 MB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.3151, allocations: 109.3 kB / 487.8 MB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.3153, allocations: 153.1 kB / 488 MB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008306/0.3237, allocations: 4.9 MB / 492.9 MB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.3237, allocations: 17.06 kB / 492.9 MB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.3239, allocations: 70.23 kB / 493 MB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.3258, allocations: 0.9951 MB / 494 MB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008233/0.3341, allocations: 3.81 MB / 497.8 MB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.353, allocations: 16.39 MB / 0.5021 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.357, allocations: 1.276 MB / 0.5034 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.3578, allocations: 0.718 MB / 0.5041 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004385/0.3622, allocations: 4.028 MB / 0.508 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3623, allocations: 41.03 kB / 0.508 GB, free: 8.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3623, allocations: 0 / 0.508 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.005773/0.3681, allocations: 1.787 MB / 0.5098 GB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3681, allocations: 107.5 kB / 0.5099 GB, free: 7.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.37, allocations: 1.608 MB / 0.5115 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.37, allocations: 29.7 kB / 0.5115 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.3707, allocations: 1.406 MB / 0.5129 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3708, allocations: 182.8 kB / 0.513 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.3712, allocations: 470.2 kB / 0.5135 GB, free: 4.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.3713, allocations: 358.8 kB / 0.5138 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.372, allocations: 0.5099 MB / 0.5143 GB, free: 4.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.373, allocations: 2.064 MB / 0.5163 GB, free: 1.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.3754, allocations: 2.811 MB / 0.5191 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.996e-05/0.3755, allocations: 16 kB / 0.5191 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003469/0.379, allocations: 2.461 MB / 0.5215 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.379, allocations: 36.84 kB / 0.5215 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/0.3791, allocations: 56 kB / 0.5216 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.845e-05/0.3792, allocations: 76 kB / 0.5217 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.3805, allocations: 0.5419 MB / 0.5222 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-05/0.3806, allocations: 111.6 kB / 0.5223 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.3822, allocations: 332.5 kB / 0.5226 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.3823, allocations: 144.8 kB / 0.5228 GB, free: 9.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.001093/0.3834, allocations: 0.8634 MB / 0.5236 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.3836, allocations: 138.2 kB / 0.5237 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3838, allocations: 153.6 kB / 0.5239 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3838, allocations: 4 kB / 0.5239 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3839, allocations: 4 kB / 0.5239 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3839, allocations: 3.984 kB / 0.5239 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.388, allocations: 3.283 MB / 0.5271 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.388, allocations: 13.06 kB / 0.5271 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.3883, allocations: 99.83 kB / 0.5272 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.3883, allocations: 16.09 kB / 0.5272 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.3884, allocations: 28.7 kB / 0.5272 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.3884, allocations: 27.86 kB / 0.5273 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.3884, allocations: 19.94 kB / 0.5273 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.3893, allocations: 0.9081 MB / 0.5282 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.3896, allocations: 219.3 kB / 0.5284 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.3898, allocations: 24.73 kB / 0.5284 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.3902, allocations: 27.98 kB / 0.5284 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.3903, allocations: 67.64 kB / 0.5285 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3903, allocations: 35.94 kB / 0.5285 GB, free: 3.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.3915, allocations: 0.9945 MB / 0.5295 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3915, allocations: 0 / 0.5295 GB, free: 2.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001767/0.3933, allocations: 482 kB / 0.53 GB, free: 2.164 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.001299/0.3946, allocations: 1.481 MB / 0.5314 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.3963, allocations: 1.296 MB / 0.5327 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3964, allocations: 0 / 0.5327 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.3966, allocations: 246.4 kB / 0.5329 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.3976, allocations: 189.5 kB / 0.5331 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/0.4171, allocations: 17.17 MB / 0.5499 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.4187, allocations: 1.706 MB / 0.5515 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001534/0.4203, allocations: 0.6139 MB / 0.5521 GB, free: 8.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/0.421, allocations: 0.7453 MB / 0.5529 GB, free: 8.004 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.421, allocations: 4 kB / 0.5529 GB, free: 8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/0.4658, allocations: 23.92 MB / 0.5762 GB, free: 140 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.4662, allocations: 192.8 kB / 0.5764 GB, free: 15.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/2.876, allocations: 0 / 0.5764 GB, free: 15.88 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches