Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008817/0.0008818, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02409/0.157, allocations: 24.63 MB / 0.4959 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1694, allocations: 5.37 MB / 0.5011 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004285/0.1737, allocations: 95.81 kB / 0.5012 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.1744, allocations: 171.1 kB / 0.5014 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1757, allocations: 426.1 kB / 0.5018 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1766, allocations: 379.4 kB / 0.5022 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1784, allocations: 1.656 MB / 0.5038 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.1809, allocations: 1.812 MB / 0.5056 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.1816, allocations: 410.2 kB / 0.5059 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.1827, allocations: 0.7006 MB / 0.5066 GB, free: 280 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.1829, allocations: 56 kB / 0.5067 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2225/0.4054, allocations: 0.5734 MB / 0.5072 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.4064, allocations: 0.642 MB / 0.5079 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.4072, allocations: 0.7435 MB / 0.5086 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.4096, allocations: 2.327 MB / 0.5109 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4096, allocations: 0.7969 kB / 0.5109 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4096, allocations: 0 / 0.5109 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.4097, allocations: 0 / 0.5109 GB, free: 11.66 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.003487/0.4132, allocations: 1.82 MB / 0.5127 GB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4132, allocations: 11.06 kB / 0.5127 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000351/0.4136, allocations: 296.4 kB / 0.5129 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.4145, allocations: 278.8 kB / 0.5132 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4157, allocations: 0.8416 MB / 0.514 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.4158, allocations: 92.28 kB / 0.5141 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.416, allocations: 122.5 kB / 0.5142 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007214/0.4232, allocations: 4.283 MB / 0.5184 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.4233, allocations: 10.06 kB / 0.5184 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.4234, allocations: 58.12 kB / 0.5185 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/0.4246, allocations: 0.7245 MB / 0.5192 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007405/0.432, allocations: 3.509 MB / 0.5226 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.4461, allocations: 14.34 MB / 0.5366 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.4499, allocations: 1.221 MB / 0.5378 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.4507, allocations: 0.698 MB / 0.5385 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004653/0.4553, allocations: 3.687 MB / 0.5421 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4554, allocations: 30.89 kB / 0.5421 GB, free: 12.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.4554, allocations: 0 / 0.5421 GB, free: 12.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006024/0.4614, allocations: 1.765 MB / 0.5438 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4615, allocations: 59.25 kB / 0.5439 GB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4636, allocations: 1.477 MB / 0.5453 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.4637, allocations: 35.83 kB / 0.5454 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.4645, allocations: 1.194 MB / 0.5465 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.4646, allocations: 171.5 kB / 0.5467 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.4649, allocations: 201.2 kB / 0.5469 GB, free: 9.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.465, allocations: 353 kB / 0.5472 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.4656, allocations: 486.6 kB / 0.5477 GB, free: 9.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.4673, allocations: 1.893 MB / 0.5495 GB, free: 6.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.4699, allocations: 2.604 MB / 0.5521 GB, free: 3.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.4699, allocations: 16 kB / 0.5521 GB, free: 3.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003167/0.4731, allocations: 2.262 MB / 0.5543 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.4732, allocations: 28 kB / 0.5543 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.844e-05/0.4732, allocations: 48 kB / 0.5544 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.121e-05/0.4733, allocations: 71.94 kB / 0.5545 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.4745, allocations: 491 kB / 0.5549 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-05/0.4746, allocations: 101.9 kB / 0.555 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.476, allocations: 301.2 kB / 0.5553 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4761, allocations: 136 kB / 0.5554 GB, free: 0.7461 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.001239/0.4774, allocations: 0.7665 MB / 0.5562 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.4775, allocations: 118.6 kB / 0.5563 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.4778, allocations: 144.3 kB / 0.5564 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4778, allocations: 4 kB / 0.5564 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4778, allocations: 0 / 0.5564 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4778, allocations: 7.984 kB / 0.5564 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.4815, allocations: 2.884 MB / 0.5593 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4816, allocations: 15.98 kB / 0.5593 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.4818, allocations: 97.16 kB / 0.5594 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/0.4819, allocations: 21.94 kB / 0.5594 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.4819, allocations: 30.91 kB / 0.5594 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.93e-05/0.4819, allocations: 19.08 kB / 0.5594 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.482, allocations: 21.81 kB / 0.5595 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.4829, allocations: 0.8703 MB / 0.5603 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.4831, allocations: 219.3 kB / 0.5605 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4833, allocations: 27.98 kB / 0.5605 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.4837, allocations: 24 kB / 0.5606 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.4838, allocations: 70.12 kB / 0.5606 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.4838, allocations: 32 kB / 0.5607 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.485, allocations: 0.9127 MB / 0.5616 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.485, allocations: 0 / 0.5616 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001732/0.4868, allocations: 402.6 kB / 0.5619 GB, free: 9.809 MB / 414.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.00117/0.4879, allocations: 1.448 MB / 0.5634 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4898, allocations: 1.181 MB / 0.5645 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4898, allocations: 4 kB / 0.5645 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.4902, allocations: 240.6 kB / 0.5647 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.4931, allocations: 214.8 kB / 0.5649 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.5132, allocations: 15.46 MB / 0.58 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.5146, allocations: 1.531 MB / 0.5815 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.516, allocations: 0.5699 MB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/0.5167, allocations: 0.6164 MB / 0.5827 GB, free: 2.43 MB / 430.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5168, allocations: 0 / 0.5827 GB, free: 2.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/0.6027, allocations: 21.72 MB / 0.6039 GB, free: 12.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.6029, allocations: 192 kB / 0.6041 GB, free: 12.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.852, allocations: 0 / 0.6041 GB, free: 12.64 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches