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.001347/0.001347, allocations: 110.5 kB / 16.41 MB, free: 6.461 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.001637/0.001637, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2077/0.2077, allocations: 43.52 MB / 314.1 MB, free: 444 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.001601/0.001601, allocations: 73.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009648/0.1124, allocations: 9.186 MB / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.1185, allocations: 2.694 MB / 0.499 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1197, allocations: 43.94 kB / 0.4991 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.1224, allocations: 1.304 MB / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1238, allocations: 0.5441 MB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.1248, allocations: 419.1 kB / 0.5013 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1264, allocations: 1.254 MB / 0.5025 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.1279, allocations: 1.281 MB / 0.5037 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.1288, allocations: 0.6032 MB / 0.5043 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1301, allocations: 0.8486 MB / 0.5052 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.1304, allocations: 124 kB / 0.5053 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009994/0.1314, allocations: 0.585 MB / 0.5058 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007841/0.1322, allocations: 0.8103 MB / 0.5066 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.1333, allocations: 0.9355 MB / 0.5075 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.136, allocations: 2.849 MB / 0.5103 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1361, allocations: 4 kB / 0.5103 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1361, allocations: 0 / 0.5103 GB, free: 4.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.633e-05/0.1361, allocations: 0 / 0.5103 GB, free: 4.668 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.004308/0.1404, allocations: 2.381 MB / 0.5127 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1405, allocations: 11.89 kB / 0.5127 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003675/0.1409, allocations: 351.9 kB / 0.513 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.142, allocations: 273.8 kB / 0.5133 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.1436, allocations: 0.8926 MB / 0.5141 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.1436, allocations: 107.1 kB / 0.5142 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.1439, allocations: 143.9 kB / 0.5144 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007841/0.1517, allocations: 4.908 MB / 0.5192 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.1518, allocations: 15.88 kB / 0.5192 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.1519, allocations: 63.94 kB / 0.5192 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.1537, allocations: 1.003 MB / 0.5202 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008202/0.1619, allocations: 3.815 MB / 0.524 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2109/0.3728, allocations: 16.28 MB / 0.5399 GB, free: 30.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/0.3769, allocations: 1.281 MB / 0.5411 GB, free: 30.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.3777, allocations: 0.7092 MB / 0.5418 GB, free: 29.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/0.3831, allocations: 4.027 MB / 0.5457 GB, free: 27.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3832, allocations: 42.06 kB / 0.5458 GB, free: 27.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/0.3832, allocations: 0.5 kB / 0.5458 GB, free: 27.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006316/0.3895, allocations: 1.778 MB / 0.5475 GB, free: 26.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3896, allocations: 115.1 kB / 0.5476 GB, free: 26.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.3916, allocations: 1.608 MB / 0.5492 GB, free: 26.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.3917, allocations: 34.86 kB / 0.5492 GB, free: 26.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/0.3924, allocations: 1.403 MB / 0.5506 GB, free: 25.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3926, allocations: 183.3 kB / 0.5508 GB, free: 24.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.393, allocations: 469.3 kB / 0.5512 GB, free: 24.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.3931, allocations: 358.9 kB / 0.5516 GB, free: 24.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.3939, allocations: 0.5129 MB / 0.5521 GB, free: 24.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3951, allocations: 2.064 MB / 0.5541 GB, free: 21.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.3971, allocations: 2.813 MB / 0.5568 GB, free: 19.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-05/0.3971, allocations: 15.25 kB / 0.5568 GB, free: 19.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003233/0.4004, allocations: 2.454 MB / 0.5592 GB, free: 18.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4004, allocations: 29.09 kB / 0.5593 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/0.4005, allocations: 56.12 kB / 0.5593 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.09e-05/0.4006, allocations: 73.78 kB / 0.5594 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.402, allocations: 0.5477 MB / 0.5599 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.519e-05/0.4021, allocations: 109.8 kB / 0.56 GB, free: 18.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4036, allocations: 340.4 kB / 0.5603 GB, free: 17.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.4037, allocations: 141.7 kB / 0.5605 GB, free: 17.9 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.001006/0.4047, allocations: 0.8684 MB / 0.5613 GB, free: 17.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.4049, allocations: 140.9 kB / 0.5615 GB, free: 17.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.4051, allocations: 154.8 kB / 0.5616 GB, free: 17.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4051, allocations: 7.906 kB / 0.5616 GB, free: 17.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4051, allocations: 0 / 0.5616 GB, free: 17.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4051, allocations: 7.438 kB / 0.5616 GB, free: 17.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.4089, allocations: 3.275 MB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4089, allocations: 11.66 kB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.4092, allocations: 101.2 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/0.4092, allocations: 19.81 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.4093, allocations: 24.12 kB / 0.565 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.4093, allocations: 27.08 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.4093, allocations: 18.75 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.4099, allocations: 0.8967 MB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.4102, allocations: 231.3 kB / 0.5661 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.4103, allocations: 27.86 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.4107, allocations: 30.67 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.4108, allocations: 70.05 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.4108, allocations: 27.81 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008861/0.4117, allocations: 0.9935 MB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4117, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00181/0.4135, allocations: 493.3 kB / 0.5677 GB, free: 13.4 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.0008242/0.4144, allocations: 1.462 MB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.4159, allocations: 1.296 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4159, allocations: 4.062 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4161, allocations: 238.6 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/0.417, allocations: 186.4 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.434, allocations: 15.42 MB / 0.5859 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.4355, allocations: 1.706 MB / 0.5875 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.4369, allocations: 0.6139 MB / 0.5881 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.4378, allocations: 0.7531 MB / 0.5889 GB, free: 6.227 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4378, allocations: 0 / 0.5889 GB, free: 6.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.4867, allocations: 24.84 MB / 0.6131 GB, free: 13.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.46, allocations: 4.062 kB / 0.6131 GB, free: 13.37 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