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.001327/0.001327, allocations: 121.5 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 199.9 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00973/0.3408, allocations: 8.098 MB / 0.5385 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.3467, allocations: 2.638 MB / 0.5411 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.3479, allocations: 36.91 kB / 0.5412 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.3505, allocations: 1.295 MB / 0.5424 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3517, allocations: 445.5 kB / 0.5428 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009504/0.3527, allocations: 415.8 kB / 0.5432 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.354, allocations: 1.038 MB / 0.5443 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.3554, allocations: 1.205 MB / 0.5454 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.356, allocations: 0.5219 MB / 0.5459 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.3571, allocations: 0.7704 MB / 0.5467 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.3573, allocations: 116 kB / 0.5468 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.3583, allocations: 0.585 MB / 0.5474 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007106/0.3591, allocations: 0.7091 MB / 0.5481 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.3599, allocations: 0.7959 MB / 0.5488 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3626, allocations: 2.498 MB / 0.5513 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3626, allocations: 0 / 0.5513 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3626, allocations: 0 / 0.5513 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.3626, allocations: 0 / 0.5513 GB, free: 12.46 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.004127/0.3668, allocations: 2.169 MB / 0.5534 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3668, allocations: 12.03 kB / 0.5534 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000344/0.3672, allocations: 288.6 kB / 0.5537 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.3682, allocations: 287.4 kB / 0.554 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3696, allocations: 0.8501 MB / 0.5548 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.3697, allocations: 90.69 kB / 0.5549 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.3699, allocations: 123.9 kB / 0.555 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007728/0.3776, allocations: 4.284 MB / 0.5592 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.3777, allocations: 11.94 kB / 0.5592 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.3779, allocations: 59.95 kB / 0.5592 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/0.379, allocations: 0.7248 MB / 0.56 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007575/0.3865, allocations: 3.504 MB / 0.5634 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.4052, allocations: 14.27 MB / 0.5773 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.4095, allocations: 1.226 MB / 0.5785 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009624/0.4105, allocations: 0.6975 MB / 0.5792 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005285/0.4158, allocations: 3.703 MB / 0.5828 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4158, allocations: 34.89 kB / 0.5828 GB, free: 11.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.4158, allocations: 4 kB / 0.5828 GB, free: 11.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006177/0.422, allocations: 1.765 MB / 0.5846 GB, free: 9.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4221, allocations: 59.34 kB / 0.5846 GB, free: 9.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.424, allocations: 1.48 MB / 0.5861 GB, free: 7.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4241, allocations: 37.7 kB / 0.5861 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.425, allocations: 1.245 MB / 0.5873 GB, free: 6.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4252, allocations: 186.7 kB / 0.5875 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.4257, allocations: 439.5 kB / 0.5879 GB, free: 5.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4259, allocations: 353.9 kB / 0.5883 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.4266, allocations: 483.9 kB / 0.5887 GB, free: 5.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.4284, allocations: 1.886 MB / 0.5906 GB, free: 2.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.4313, allocations: 2.605 MB / 0.5931 GB, free: 15.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.4313, allocations: 16 kB / 0.5931 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003364/0.4347, allocations: 2.263 MB / 0.5953 GB, free: 12.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.4347, allocations: 31.94 kB / 0.5954 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-05/0.4348, allocations: 48 kB / 0.5954 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.402e-05/0.4349, allocations: 68.81 kB / 0.5955 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4362, allocations: 495 kB / 0.5959 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.38e-05/0.4363, allocations: 99.66 kB / 0.596 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4375, allocations: 317.7 kB / 0.5963 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.4376, allocations: 132 kB / 0.5965 GB, free: 11.66 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.0009985/0.4387, allocations: 0.7619 MB / 0.5972 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4388, allocations: 127.1 kB / 0.5973 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.4391, allocations: 148.4 kB / 0.5975 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4391, allocations: 4 kB / 0.5975 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4391, allocations: 0 / 0.5975 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4391, allocations: 0 / 0.5975 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.4431, allocations: 2.894 MB / 0.6003 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4432, allocations: 15.94 kB / 0.6003 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.4435, allocations: 103.8 kB / 0.6004 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.4435, allocations: 12 kB / 0.6004 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.4436, allocations: 32 kB / 0.6005 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-05/0.4436, allocations: 19.92 kB / 0.6005 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/0.4436, allocations: 19.94 kB / 0.6005 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.4447, allocations: 0.8837 MB / 0.6014 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.445, allocations: 216.1 kB / 0.6016 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.4451, allocations: 31.98 kB / 0.6016 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.4455, allocations: 19.98 kB / 0.6016 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.4456, allocations: 83.58 kB / 0.6017 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4457, allocations: 24 kB / 0.6017 GB, free: 5.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.4469, allocations: 0.9089 MB / 0.6026 GB, free: 4.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4469, allocations: 0 / 0.6026 GB, free: 4.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4486, allocations: 403 kB / 0.603 GB, free: 4.535 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.001363/0.45, allocations: 1.457 MB / 0.6044 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4519, allocations: 1.213 MB / 0.6056 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.4519, allocations: 4 kB / 0.6056 GB, free: 1.684 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4522, allocations: 238.5 kB / 0.6058 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4532, allocations: 199.2 kB / 0.606 GB, free: 1.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.4724, allocations: 14.08 MB / 0.6198 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.474, allocations: 1.524 MB / 0.6213 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.4754, allocations: 0.5699 MB / 0.6218 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.4763, allocations: 0.6164 MB / 0.6224 GB, free: 14.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4763, allocations: 0 / 0.6224 GB, free: 14.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.5282, allocations: 22.89 MB / 0.6448 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.68, allocations: 5.734 kB / 0.6448 GB, free: 7.719 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