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.001413/0.001413, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.89 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01072/0.3736, allocations: 8.118 MB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006072/0.3797, allocations: 2.637 MB / 0.541 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3811, allocations: 37.09 kB / 0.541 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.3838, allocations: 1.288 MB / 0.5423 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3853, allocations: 444.8 kB / 0.5427 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3865, allocations: 419 kB / 0.5431 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3881, allocations: 1.038 MB / 0.5441 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.3899, allocations: 1.201 MB / 0.5453 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.391, allocations: 0.5263 MB / 0.5458 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3924, allocations: 0.7661 MB / 0.5466 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.3928, allocations: 116 kB / 0.5467 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.3941, allocations: 0.5772 MB / 0.5473 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008625/0.3949, allocations: 0.7208 MB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.3961, allocations: 0.7959 MB / 0.5487 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.3991, allocations: 2.487 MB / 0.5512 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3992, allocations: 0 / 0.5512 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3992, allocations: 0 / 0.5512 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.018e-05/0.3993, allocations: 0 / 0.5512 GB, free: 12.52 MB / 414.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.004918/0.4042, allocations: 2.121 MB / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4043, allocations: 12.03 kB / 0.5532 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004614/0.4047, allocations: 292.6 kB / 0.5535 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4058, allocations: 282.2 kB / 0.5538 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.4076, allocations: 0.8419 MB / 0.5546 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.4077, allocations: 94.7 kB / 0.5547 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.4081, allocations: 123.9 kB / 0.5548 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008212/0.4163, allocations: 4.28 MB / 0.559 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.4164, allocations: 11.92 kB / 0.559 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.4167, allocations: 63.88 kB / 0.5591 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/0.4178, allocations: 0.721 MB / 0.5598 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008081/0.4259, allocations: 3.504 MB / 0.5632 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.4457, allocations: 14.24 MB / 0.5771 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/0.45, allocations: 1.218 MB / 0.5783 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.4511, allocations: 0.7014 MB / 0.579 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00637/0.4575, allocations: 3.699 MB / 0.5826 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4576, allocations: 34.89 kB / 0.5826 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.567e-06/0.4576, allocations: 0 / 0.5826 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006397/0.464, allocations: 1.764 MB / 0.5843 GB, free: 9.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4641, allocations: 59.34 kB / 0.5844 GB, free: 9.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.4665, allocations: 1.479 MB / 0.5858 GB, free: 7.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.4666, allocations: 33.7 kB / 0.5859 GB, free: 7.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/0.4675, allocations: 1.193 MB / 0.587 GB, free: 6.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4677, allocations: 174 kB / 0.5872 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006022/0.4683, allocations: 435.1 kB / 0.5876 GB, free: 6.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4685, allocations: 357.9 kB / 0.588 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.4692, allocations: 483.9 kB / 0.5884 GB, free: 5.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.471, allocations: 1.89 MB / 0.5903 GB, free: 2.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4739, allocations: 2.597 MB / 0.5928 GB, free: 15.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/0.474, allocations: 16 kB / 0.5928 GB, free: 15.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004263/0.4783, allocations: 2.263 MB / 0.595 GB, free: 13.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.4784, allocations: 31.94 kB / 0.5951 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.782e-05/0.4785, allocations: 52 kB / 0.5951 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.105e-05/0.4786, allocations: 64 kB / 0.5952 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4801, allocations: 495 kB / 0.5957 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.243e-05/0.4802, allocations: 95.66 kB / 0.5957 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4818, allocations: 304.7 kB / 0.596 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.4821, allocations: 136.2 kB / 0.5962 GB, free: 11.89 MB / 462.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.001252/0.4834, allocations: 0.7736 MB / 0.5969 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.4836, allocations: 126.3 kB / 0.597 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.4839, allocations: 140.4 kB / 0.5972 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.484, allocations: 4 kB / 0.5972 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.484, allocations: 0 / 0.5972 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.484, allocations: 0 / 0.5972 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.4887, allocations: 2.892 MB / 0.6 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.4888, allocations: 16.91 kB / 0.6 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.4891, allocations: 103.8 kB / 0.6001 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.4892, allocations: 16 kB / 0.6001 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.4892, allocations: 28 kB / 0.6002 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.4893, allocations: 23.92 kB / 0.6002 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.4893, allocations: 15.94 kB / 0.6002 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4903, allocations: 0.8674 MB / 0.601 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.4907, allocations: 215.4 kB / 0.6012 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.4909, allocations: 23.98 kB / 0.6013 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.4914, allocations: 28 kB / 0.6013 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.4915, allocations: 79.56 kB / 0.6014 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.4915, allocations: 24 kB / 0.6014 GB, free: 6.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.4929, allocations: 0.9128 MB / 0.6023 GB, free: 5.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4929, allocations: 0 / 0.6023 GB, free: 5.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001936/0.4949, allocations: 402.6 kB / 0.6027 GB, free: 4.781 MB / 462.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.001377/0.4963, allocations: 1.445 MB / 0.6041 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.4981, allocations: 1.216 MB / 0.6053 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.4982, allocations: 4.875 kB / 0.6053 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4985, allocations: 237.6 kB / 0.6055 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4997, allocations: 206.4 kB / 0.6057 GB, free: 1.512 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.5181, allocations: 14 MB / 0.6194 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.5196, allocations: 1.536 MB / 0.6209 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001348/0.521, allocations: 0.5659 MB / 0.6214 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/0.5218, allocations: 0.6164 MB / 0.622 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5218, allocations: 4 kB / 0.622 GB, free: 14.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.5709, allocations: 23.14 MB / 0.6446 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.04, allocations: 16.62 kB / 0.6446 GB, free: 7.773 MB / 0.4981 GB (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