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.001346/0.001346, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001443/0.001443, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.00214/0.00214, allocations: 76.38 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1097, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01073/0.1204, allocations: 9.17 MB / 0.4964 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.1258, allocations: 2.705 MB / 0.499 GB, free: 376 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.1266, allocations: 43.94 kB / 0.4991 GB, free: 332 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.1293, allocations: 1.293 MB / 0.5003 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.1307, allocations: 0.5479 MB / 0.5009 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009396/0.1317, allocations: 423.1 kB / 0.5013 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1332, allocations: 1.258 MB / 0.5025 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.1347, allocations: 1.277 MB / 0.5037 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.1354, allocations: 0.607 MB / 0.5043 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1366, allocations: 0.8447 MB / 0.5051 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.1368, allocations: 128 kB / 0.5053 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1378, allocations: 0.585 MB / 0.5058 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007913/0.1386, allocations: 0.8103 MB / 0.5066 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.1395, allocations: 0.9356 MB / 0.5075 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.1427, allocations: 2.855 MB / 0.5103 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1427, allocations: 4 kB / 0.5103 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.778e-06/0.1427, allocations: 0 / 0.5103 GB, free: 4.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.1428, allocations: 3.938 kB / 0.5103 GB, free: 4.688 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004751/0.1475, allocations: 2.432 MB / 0.5127 GB, free: 2.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1476, allocations: 15.83 kB / 0.5127 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004127/0.148, allocations: 351.9 kB / 0.5131 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.1492, allocations: 291.2 kB / 0.5133 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1506, allocations: 0.8892 MB / 0.5142 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.749e-05/0.1507, allocations: 107.1 kB / 0.5143 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.151, allocations: 155.8 kB / 0.5145 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008748/0.1598, allocations: 4.904 MB / 0.5193 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.1599, allocations: 11.94 kB / 0.5193 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.1601, allocations: 63.94 kB / 0.5193 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.1619, allocations: 1.003 MB / 0.5203 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008232/0.1701, allocations: 3.811 MB / 0.524 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1994/0.3696, allocations: 16.32 MB / 0.54 GB, free: 30.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.3737, allocations: 1.279 MB / 0.5412 GB, free: 30.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.3746, allocations: 0.7083 MB / 0.5419 GB, free: 29.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004788/0.3794, allocations: 4.042 MB / 0.5459 GB, free: 27.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3794, allocations: 44.75 kB / 0.5459 GB, free: 27.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/0.3794, allocations: 0.6875 kB / 0.5459 GB, free: 27.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006388/0.3858, allocations: 1.779 MB / 0.5476 GB, free: 26.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3859, allocations: 113 kB / 0.5477 GB, free: 26.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.3879, allocations: 1.61 MB / 0.5493 GB, free: 26.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.388, allocations: 35.86 kB / 0.5493 GB, free: 26.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/0.3887, allocations: 1.461 MB / 0.5508 GB, free: 25.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3888, allocations: 193.6 kB / 0.551 GB, free: 24.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/0.3893, allocations: 468.1 kB / 0.5514 GB, free: 24.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.3894, allocations: 362.8 kB / 0.5517 GB, free: 24.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/0.3902, allocations: 0.5131 MB / 0.5523 GB, free: 24.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3918, allocations: 2.06 MB / 0.5543 GB, free: 22.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.394, allocations: 2.816 MB / 0.557 GB, free: 19.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-05/0.3941, allocations: 17.12 kB / 0.557 GB, free: 19.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003373/0.3974, allocations: 2.46 MB / 0.5594 GB, free: 18.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.3975, allocations: 27.59 kB / 0.5595 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/0.3976, allocations: 56.47 kB / 0.5595 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.369e-05/0.3977, allocations: 73.91 kB / 0.5596 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.3991, allocations: 0.5513 MB / 0.5601 GB, free: 18.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.238e-05/0.3992, allocations: 107.4 kB / 0.5602 GB, free: 18.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4006, allocations: 345.4 kB / 0.5606 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4007, allocations: 150.3 kB / 0.5607 GB, free: 17.93 MB / 414.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.000928/0.4017, allocations: 0.8619 MB / 0.5615 GB, free: 17.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4019, allocations: 141.7 kB / 0.5617 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.402, allocations: 160.2 kB / 0.5618 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4021, allocations: 7.875 kB / 0.5618 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.4021, allocations: 3.938 kB / 0.5618 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4021, allocations: 3.938 kB / 0.5618 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.4054, allocations: 3.284 MB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4054, allocations: 13.06 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.4057, allocations: 104 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.4057, allocations: 16.28 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4057, allocations: 26.31 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.4057, allocations: 25.33 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.4057, allocations: 18.41 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.4064, allocations: 0.9014 MB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.4066, allocations: 239.2 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4067, allocations: 29.14 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.4071, allocations: 24.11 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.4072, allocations: 74.11 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.4072, allocations: 27.03 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008955/0.4081, allocations: 0.9921 MB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4081, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001589/0.4097, allocations: 0.4914 MB / 0.5679 GB, free: 13.39 MB / 414.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.0007895/0.4105, allocations: 1.463 MB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.412, allocations: 1.3 MB / 0.5706 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.412, allocations: 4.188 kB / 0.5706 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.4122, allocations: 234.6 kB / 0.5709 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.4131, allocations: 202.5 kB / 0.5711 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.4286, allocations: 15.5 MB / 0.5862 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.4303, allocations: 1.706 MB / 0.5879 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001439/0.4318, allocations: 0.6139 MB / 0.5885 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008778/0.4327, allocations: 0.7414 MB / 0.5892 GB, free: 6.176 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4327, allocations: 8 kB / 0.5892 GB, free: 6.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.4876, allocations: 24.53 MB / 0.6132 GB, free: 13.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.69, allocations: 12 kB / 0.6132 GB, free: 13.61 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches