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.005865/0.005865, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001294/0.001294, allocations: 196 kB / 16.79 MB, free: 6.238 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.301/1.301, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.307/0.307, allocations: 43.5 MB / 313.5 MB, free: 8.32 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.001386/0.001386, allocations: 63.91 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2236/0.3373, allocations: 26.64 MB / 466.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009669/0.347, allocations: 5.531 MB / 472.1 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003727/0.3507, allocations: 104 kB / 472.2 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3529, allocations: 1.3 MB / 473.5 MB, free: 32.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3541, allocations: 0.5035 MB / 474 MB, free: 31.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.3549, allocations: 379.4 kB / 474.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3562, allocations: 1.965 MB / 476.3 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.3573, allocations: 1.28 MB / 477.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.3578, allocations: 0.5562 MB / 478.2 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.3586, allocations: 0.8909 MB / 479.1 MB, free: 29.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3587, allocations: 101 kB / 479.2 MB, free: 29.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.3595, allocations: 0.6073 MB / 479.8 MB, free: 29.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.36, allocations: 0.793 MB / 480.6 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.3607, allocations: 0.9126 MB / 481.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.3625, allocations: 2.727 MB / 484.2 MB, free: 27.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3625, allocations: 3.938 kB / 484.2 MB, free: 27.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3625, allocations: 0 / 484.2 MB, free: 27.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.3625, allocations: 0.6562 kB / 484.2 MB, free: 27.87 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.003464/0.366, allocations: 2.391 MB / 486.6 MB, free: 26.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3661, allocations: 13.06 kB / 486.6 MB, free: 26.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002959/0.3664, allocations: 347.1 kB / 486.9 MB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3674, allocations: 280.2 kB / 487.2 MB, free: 26.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3685, allocations: 0.8792 MB / 488.1 MB, free: 25.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.3686, allocations: 112.2 kB / 488.2 MB, free: 25.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3688, allocations: 145.5 kB / 488.3 MB, free: 25.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.376, allocations: 4.904 MB / 493.2 MB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.3761, allocations: 12.41 kB / 493.3 MB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.3762, allocations: 71.19 kB / 493.3 MB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.3779, allocations: 0.9986 MB / 494.3 MB, free: 23.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.3854, allocations: 3.81 MB / 498.1 MB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.4031, allocations: 16.39 MB / 0.5025 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.4071, allocations: 1.272 MB / 0.5037 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.408, allocations: 0.717 MB / 0.5044 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004811/0.4128, allocations: 4.039 MB / 0.5084 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4128, allocations: 37.69 kB / 0.5084 GB, free: 7.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.695e-06/0.4129, allocations: 1.625 kB / 0.5084 GB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.005898/0.4188, allocations: 1.78 MB / 0.5101 GB, free: 6.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4188, allocations: 111.5 kB / 0.5102 GB, free: 6.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.4207, allocations: 1.608 MB / 0.5118 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4208, allocations: 31.64 kB / 0.5118 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.4215, allocations: 1.408 MB / 0.5132 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4216, allocations: 182.9 kB / 0.5134 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.4221, allocations: 468.7 kB / 0.5138 GB, free: 4.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4222, allocations: 358.9 kB / 0.5142 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.4229, allocations: 0.5162 MB / 0.5147 GB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4241, allocations: 2.058 MB / 0.5167 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.4264, allocations: 2.807 MB / 0.5194 GB, free: 13.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.4264, allocations: 16 kB / 0.5195 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003354/0.4298, allocations: 2.457 MB / 0.5219 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.4298, allocations: 35.94 kB / 0.5219 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/0.4299, allocations: 52.84 kB / 0.5219 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/0.4299, allocations: 79.98 kB / 0.522 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4313, allocations: 0.5419 MB / 0.5225 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.438e-05/0.4314, allocations: 107.6 kB / 0.5226 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4328, allocations: 338.9 kB / 0.523 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.433, allocations: 144 kB / 0.5231 GB, free: 9.367 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.001328/0.4343, allocations: 0.8595 MB / 0.5239 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4345, allocations: 142.2 kB / 0.5241 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.4347, allocations: 153.6 kB / 0.5242 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4347, allocations: 4.094 kB / 0.5242 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.4348, allocations: 3.984 kB / 0.5242 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4348, allocations: 7.984 kB / 0.5242 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.439, allocations: 3.271 MB / 0.5274 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4391, allocations: 12 kB / 0.5274 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.4393, allocations: 107.8 kB / 0.5275 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.4394, allocations: 19.88 kB / 0.5276 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4394, allocations: 28 kB / 0.5276 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.4394, allocations: 20.52 kB / 0.5276 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.072e-05/0.4395, allocations: 23.88 kB / 0.5276 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.4403, allocations: 0.9043 MB / 0.5285 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4405, allocations: 219.2 kB / 0.5287 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.4407, allocations: 28 kB / 0.5288 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.4411, allocations: 27.98 kB / 0.5288 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.4412, allocations: 67.64 kB / 0.5288 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.4412, allocations: 35.44 kB / 0.5289 GB, free: 3.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.4424, allocations: 0.9906 MB / 0.5298 GB, free: 2.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4424, allocations: 4 kB / 0.5299 GB, free: 2.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4441, allocations: 486 kB / 0.5303 GB, free: 1.539 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.001093/0.4452, allocations: 1.477 MB / 0.5318 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.4468, allocations: 1.273 MB / 0.533 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4469, allocations: 4 kB / 0.533 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.4471, allocations: 242.5 kB / 0.5332 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.4481, allocations: 172.3 kB / 0.5334 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.4673, allocations: 17.18 MB / 0.5502 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.4687, allocations: 1.706 MB / 0.5518 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001541/0.4703, allocations: 0.6178 MB / 0.5525 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/0.471, allocations: 0.7492 MB / 0.5532 GB, free: 7.387 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4711, allocations: 0 / 0.5532 GB, free: 7.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.5113, allocations: 23.51 MB / 0.5761 GB, free: 15.93 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.5116, allocations: 192.4 kB / 0.5763 GB, free: 15.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.787, allocations: 0 / 0.5763 GB, free: 15.67 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