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.00123/0.00123, allocations: 116.7 kB / 17.33 MB, free: 6.012 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.001177/0.001177, allocations: 189.3 kB / 18.25 MB, free: 5.105 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.36 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02624/0.1426, allocations: 25.61 MB / 494.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1541, allocations: 5.389 MB / 499.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004407/0.1585, allocations: 103.8 kB / 499.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.1613, allocations: 1.223 MB / 0.4894 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1629, allocations: 418.2 kB / 0.4898 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1641, allocations: 391.3 kB / 0.4902 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.1659, allocations: 1.056 MB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.1677, allocations: 1.261 MB / 0.4924 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1689, allocations: 0.5372 MB / 0.493 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.1709, allocations: 0.8333 MB / 0.4938 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007491/0.1716, allocations: 116 kB / 0.4939 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.1735, allocations: 0.5967 MB / 0.4945 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.175, allocations: 0.7285 MB / 0.4952 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.1766, allocations: 0.8114 MB / 0.496 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.1801, allocations: 2.441 MB / 0.4983 GB, free: 4.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.1801, allocations: 4 kB / 0.4984 GB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1801, allocations: 4 kB / 0.4984 GB, free: 4.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.1802, allocations: 0 / 0.4984 GB, free: 4.965 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.004823/0.1851, allocations: 2.136 MB / 0.5004 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1851, allocations: 12.03 kB / 0.5005 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003167/0.1855, allocations: 300.6 kB / 0.5007 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/0.1864, allocations: 270.2 kB / 0.501 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1877, allocations: 0.8496 MB / 0.5018 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.1878, allocations: 90.7 kB / 0.5019 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.188, allocations: 123.9 kB / 0.502 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2555/0.4435, allocations: 4.27 MB / 0.5062 GB, free: 50.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.4436, allocations: 11.19 kB / 0.5062 GB, free: 50.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.4437, allocations: 57.3 kB / 0.5063 GB, free: 50.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.4448, allocations: 0.7254 MB / 0.507 GB, free: 50.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.4525, allocations: 3.503 MB / 0.5104 GB, free: 49.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.4703, allocations: 14.31 MB / 0.5244 GB, free: 39.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.4743, allocations: 1.213 MB / 0.5256 GB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008969/0.4752, allocations: 0.6957 MB / 0.5262 GB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006403/0.4816, allocations: 3.696 MB / 0.5298 GB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.4817, allocations: 42.86 kB / 0.5299 GB, free: 35.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.146e-06/0.4817, allocations: 0 / 0.5299 GB, free: 35.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0097/0.4914, allocations: 1.757 MB / 0.5316 GB, free: 34.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4915, allocations: 59.34 kB / 0.5317 GB, free: 34.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.4938, allocations: 1.488 MB / 0.5331 GB, free: 32.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.4939, allocations: 29.7 kB / 0.5331 GB, free: 32.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.4946, allocations: 1.199 MB / 0.5343 GB, free: 31.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.4948, allocations: 173.2 kB / 0.5345 GB, free: 31.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/0.4953, allocations: 431.1 kB / 0.5349 GB, free: 30.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.4954, allocations: 357.9 kB / 0.5352 GB, free: 30.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008623/0.4963, allocations: 491.9 kB / 0.5357 GB, free: 30.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4978, allocations: 1.891 MB / 0.5375 GB, free: 27.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.5006, allocations: 2.597 MB / 0.5401 GB, free: 24.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.5007, allocations: 16 kB / 0.5401 GB, free: 24.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004224/0.5049, allocations: 2.263 MB / 0.5423 GB, free: 21.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.505, allocations: 35.92 kB / 0.5423 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.503e-05/0.505, allocations: 51.98 kB / 0.5424 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-05/0.5051, allocations: 68 kB / 0.5425 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.507, allocations: 491 kB / 0.5429 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.455e-05/0.5071, allocations: 97.81 kB / 0.543 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5094, allocations: 308.7 kB / 0.5433 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.5096, allocations: 132 kB / 0.5434 GB, free: 20.67 MB / 382.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.00133/0.5109, allocations: 0.7583 MB / 0.5442 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.5112, allocations: 127.6 kB / 0.5443 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.5115, allocations: 140.5 kB / 0.5444 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5115, allocations: 4 kB / 0.5444 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5116, allocations: 3.938 kB / 0.5444 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5116, allocations: 3.984 kB / 0.5444 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.5162, allocations: 2.892 MB / 0.5473 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.5162, allocations: 12 kB / 0.5473 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.5166, allocations: 100.7 kB / 0.5474 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/0.5167, allocations: 19.98 kB / 0.5474 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.5167, allocations: 28 kB / 0.5474 GB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/0.5168, allocations: 27.81 kB / 0.5474 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.5168, allocations: 15.94 kB / 0.5475 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.5178, allocations: 0.8817 MB / 0.5483 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.5181, allocations: 219.3 kB / 0.5485 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.5183, allocations: 20 kB / 0.5486 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.5189, allocations: 27.98 kB / 0.5486 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.519, allocations: 75.58 kB / 0.5487 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.5191, allocations: 24 kB / 0.5487 GB, free: 14.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.5204, allocations: 0.9209 MB / 0.5496 GB, free: 13.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5204, allocations: 0 / 0.5496 GB, free: 13.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002714/0.5232, allocations: 398.7 kB / 0.55 GB, free: 13.56 MB / 382.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.001352/0.5245, allocations: 1.449 MB / 0.5514 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.5268, allocations: 1.214 MB / 0.5526 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.5268, allocations: 0 / 0.5526 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.5271, allocations: 238.5 kB / 0.5528 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5287, allocations: 210.7 kB / 0.553 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02567/0.5544, allocations: 15.46 MB / 0.5681 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.5566, allocations: 1.528 MB / 0.5696 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002914/0.5595, allocations: 0.5738 MB / 0.5701 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.5608, allocations: 0.6203 MB / 0.5707 GB, free: 5.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.134e-06/0.5608, allocations: 0 / 0.5707 GB, free: 5.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07379/0.6346, allocations: 22.37 MB / 0.5926 GB, free: 15.61 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.6349, allocations: 192.8 kB / 0.5928 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.324, allocations: 4 kB / 0.5928 GB, free: 15.36 MB / 430.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