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.0008606/0.0008607, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.000911/0.0009109, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.265/1.265, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1739/0.1739, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8.188 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09325, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02058/0.1139, allocations: 24.78 MB / 497.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1243, allocations: 5.393 MB / 0.4907 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004016/0.1283, allocations: 103.8 kB / 0.4908 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.129, allocations: 159.1 kB / 0.491 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1304, allocations: 434.2 kB / 0.4914 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.1312, allocations: 387.3 kB / 0.4918 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.1329, allocations: 1.671 MB / 0.4934 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.1353, allocations: 1.793 MB / 0.4952 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.1358, allocations: 414.2 kB / 0.4956 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009456/0.1368, allocations: 0.7083 MB / 0.4963 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.137, allocations: 56 kB / 0.4963 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008289/0.1378, allocations: 0.5888 MB / 0.4969 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.1384, allocations: 0.6466 MB / 0.4975 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006805/0.1391, allocations: 0.7506 MB / 0.4982 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.1412, allocations: 2.339 MB / 0.5005 GB, free: 4.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1413, allocations: 0 / 0.5005 GB, free: 4.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1413, allocations: 3.938 kB / 0.5005 GB, free: 4.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.511e-05/0.1414, allocations: 0 / 0.5005 GB, free: 4.863 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004069/0.1454, allocations: 1.833 MB / 0.5023 GB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1455, allocations: 8.031 kB / 0.5023 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005137/0.146, allocations: 292.6 kB / 0.5026 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1471, allocations: 282.2 kB / 0.5029 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1484, allocations: 0.8341 MB / 0.5037 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.1485, allocations: 90.7 kB / 0.5038 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.1487, allocations: 131.9 kB / 0.5039 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1966/0.3454, allocations: 4.273 MB / 0.5081 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3454, allocations: 11.97 kB / 0.5081 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.3456, allocations: 59.52 kB / 0.5081 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001004/0.3466, allocations: 0.7244 MB / 0.5089 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006488/0.3531, allocations: 3.509 MB / 0.5123 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.3663, allocations: 14.31 MB / 0.5263 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.3701, allocations: 1.227 MB / 0.5275 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.3708, allocations: 0.698 MB / 0.5281 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003721/0.3746, allocations: 3.705 MB / 0.5318 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3746, allocations: 33.08 kB / 0.5318 GB, free: 8.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/0.3746, allocations: 0 / 0.5318 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.005501/0.3801, allocations: 1.764 MB / 0.5335 GB, free: 7.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3802, allocations: 58.75 kB / 0.5336 GB, free: 7.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.3816, allocations: 1.483 MB / 0.535 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3816, allocations: 33.98 kB / 0.535 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.3821, allocations: 1.202 MB / 0.5362 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.3822, allocations: 173.1 kB / 0.5364 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3824, allocations: 193.2 kB / 0.5366 GB, free: 5.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.3824, allocations: 354.5 kB / 0.5369 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.383, allocations: 490.3 kB / 0.5374 GB, free: 4.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.384, allocations: 1.892 MB / 0.5392 GB, free: 2.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.3857, allocations: 2.597 MB / 0.5418 GB, free: 332 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.3857, allocations: 15.41 kB / 0.5418 GB, free: 332 kB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002587/0.3883, allocations: 2.272 MB / 0.544 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.3884, allocations: 30.94 kB / 0.544 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/0.3884, allocations: 49.72 kB / 0.5441 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.3885, allocations: 66.25 kB / 0.5441 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3896, allocations: 492.9 kB / 0.5446 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.629e-05/0.3897, allocations: 97.14 kB / 0.5447 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3908, allocations: 306 kB / 0.545 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3909, allocations: 136 kB / 0.5451 GB, free: 14.57 MB / 398.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.0008463/0.3918, allocations: 0.7654 MB / 0.5459 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3919, allocations: 122.3 kB / 0.546 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3921, allocations: 140.5 kB / 0.5461 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3922, allocations: 4 kB / 0.5461 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.3922, allocations: 0 / 0.5461 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3922, allocations: 3.984 kB / 0.5461 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.3954, allocations: 2.89 MB / 0.5489 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.3954, allocations: 12 kB / 0.549 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3957, allocations: 101.7 kB / 0.5491 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.3957, allocations: 16.75 kB / 0.5491 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.3958, allocations: 23.94 kB / 0.5491 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.3958, allocations: 25.66 kB / 0.5491 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.3958, allocations: 17.72 kB / 0.5491 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.3966, allocations: 0.8761 MB / 0.55 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.3968, allocations: 219.4 kB / 0.5502 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3969, allocations: 33.62 kB / 0.5502 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.3973, allocations: 19.98 kB / 0.5503 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.3974, allocations: 79.48 kB / 0.5503 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3974, allocations: 26.69 kB / 0.5504 GB, free: 8.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.3984, allocations: 0.9131 MB / 0.5512 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3984, allocations: 4 kB / 0.5512 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001349/0.3998, allocations: 408.2 kB / 0.5516 GB, free: 7.621 MB / 398.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.001096/0.4009, allocations: 1.451 MB / 0.5531 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4023, allocations: 1.178 MB / 0.5542 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4024, allocations: 0 / 0.5542 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.4026, allocations: 245.8 kB / 0.5544 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.4054, allocations: 195.5 kB / 0.5546 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.4215, allocations: 15.51 MB / 0.5698 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.4227, allocations: 1.532 MB / 0.5713 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001389/0.4241, allocations: 0.576 MB / 0.5718 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006249/0.4247, allocations: 0.6164 MB / 0.5724 GB, free: 208 kB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4247, allocations: 0 / 0.5724 GB, free: 208 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4582, allocations: 21.78 MB / 0.5937 GB, free: 10.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.4584, allocations: 188.3 kB / 0.5939 GB, free: 10.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.662, allocations: 0 / 0.5939 GB, free: 10.38 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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