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.0009816/0.0009813, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.387/1.387, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.3396/0.3396, allocations: 43.57 MB / 315 MB, free: 9.047 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.0005013/0.0005012, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2254/0.3473, allocations: 25.79 MB / 469.3 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009747/0.3571, allocations: 5.497 MB / 474.8 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.3606, allocations: 101.1 kB / 474.9 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.3612, allocations: 190 kB / 475.1 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3623, allocations: 0.5097 MB / 475.6 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.363, allocations: 377.8 kB / 476 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.3644, allocations: 1.96 MB / 478 MB, free: 31.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.3665, allocations: 1.885 MB / 479.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.3672, allocations: 484.2 kB / 480.3 MB, free: 30.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009121/0.3681, allocations: 0.7843 MB / 481.1 MB, free: 30.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.3682, allocations: 67.91 kB / 481.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000912/0.3692, allocations: 0.5725 MB / 481.7 MB, free: 30.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.3697, allocations: 0.7472 MB / 482.5 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.3703, allocations: 0.8751 MB / 483.4 MB, free: 29.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.3722, allocations: 2.656 MB / 486 MB, free: 28.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3722, allocations: 0 / 486 MB, free: 28.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3722, allocations: 0.9375 kB / 486 MB, free: 28.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.269e-05/0.3722, allocations: 0 / 486 MB, free: 28.43 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.003364/0.3756, allocations: 2.028 MB / 488 MB, free: 27.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3756, allocations: 9.344 kB / 488.1 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/0.376, allocations: 347.3 kB / 488.4 MB, free: 27.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.377, allocations: 279.6 kB / 488.7 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3781, allocations: 0.8818 MB / 489.5 MB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.3781, allocations: 108.3 kB / 489.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.3784, allocations: 156.6 kB / 489.8 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007007/0.3854, allocations: 4.911 MB / 494.7 MB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.3854, allocations: 16.78 kB / 494.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.3856, allocations: 69.53 kB / 494.8 MB, free: 24.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.3872, allocations: 0.9988 MB / 495.8 MB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/0.3946, allocations: 3.82 MB / 499.6 MB, free: 22.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.4122, allocations: 16.4 MB / 0.5039 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.4163, allocations: 1.283 MB / 0.5052 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.4172, allocations: 0.7133 MB / 0.5059 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00443/0.4216, allocations: 4.028 MB / 0.5098 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4217, allocations: 46.28 kB / 0.5099 GB, free: 8.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.4217, allocations: 0 / 0.5099 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.005855/0.4275, allocations: 1.773 MB / 0.5116 GB, free: 7.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4276, allocations: 107.8 kB / 0.5117 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.4297, allocations: 1.608 MB / 0.5133 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.4298, allocations: 32.89 kB / 0.5133 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000616/0.4304, allocations: 1.409 MB / 0.5147 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.4305, allocations: 178.3 kB / 0.5148 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4307, allocations: 206.3 kB / 0.515 GB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.4308, allocations: 354.1 kB / 0.5154 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.4314, allocations: 0.5131 MB / 0.5159 GB, free: 4.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4326, allocations: 2.064 MB / 0.5179 GB, free: 1.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.435, allocations: 2.819 MB / 0.5206 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.435, allocations: 16 kB / 0.5207 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00351/0.4385, allocations: 2.458 MB / 0.5231 GB, free: 11.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.4386, allocations: 36 kB / 0.5231 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/0.4386, allocations: 56 kB / 0.5231 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.431e-05/0.4387, allocations: 72 kB / 0.5232 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.4402, allocations: 0.5419 MB / 0.5237 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.859e-05/0.4403, allocations: 108.4 kB / 0.5238 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.4418, allocations: 340.4 kB / 0.5242 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.442, allocations: 140 kB / 0.5243 GB, free: 10.46 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.001256/0.4432, allocations: 0.8712 MB / 0.5252 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4435, allocations: 138.2 kB / 0.5253 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4438, allocations: 153.6 kB / 0.5254 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4438, allocations: 4.625 kB / 0.5254 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.4438, allocations: 7.938 kB / 0.5254 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4438, allocations: 0 / 0.5254 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.4483, allocations: 3.291 MB / 0.5287 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4483, allocations: 11.12 kB / 0.5287 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.4486, allocations: 95.84 kB / 0.5288 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/0.4486, allocations: 24.02 kB / 0.5288 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4487, allocations: 24 kB / 0.5288 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.4487, allocations: 23.88 kB / 0.5288 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.4487, allocations: 15.94 kB / 0.5288 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009189/0.4496, allocations: 0.9043 MB / 0.5297 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.45, allocations: 231.2 kB / 0.5299 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.4501, allocations: 24 kB / 0.53 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.4505, allocations: 27.98 kB / 0.53 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.4506, allocations: 79.58 kB / 0.5301 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4507, allocations: 28 kB / 0.5301 GB, free: 4.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.452, allocations: 0.9945 MB / 0.5311 GB, free: 3.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.452, allocations: 0 / 0.5311 GB, free: 3.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001883/0.4539, allocations: 486 kB / 0.5315 GB, free: 2.609 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.001253/0.4551, allocations: 1.47 MB / 0.533 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.4572, allocations: 1.272 MB / 0.5342 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.4572, allocations: 4 kB / 0.5342 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4575, allocations: 238.4 kB / 0.5344 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.4606, allocations: 183.4 kB / 0.5346 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/0.4815, allocations: 17.2 MB / 0.5514 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.483, allocations: 1.706 MB / 0.5531 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.4846, allocations: 0.6178 MB / 0.5537 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/0.4854, allocations: 0.7492 MB / 0.5544 GB, free: 8.441 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4854, allocations: 0 / 0.5544 GB, free: 8.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.5252, allocations: 23.31 MB / 0.5772 GB, free: 1.203 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.5254, allocations: 195.8 kB / 0.5774 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.75, allocations: 0 / 0.5774 GB, free: 0.9414 MB / 446.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