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.001439/0.001439, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 83.81 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.43 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02548/0.1425, allocations: 25.45 MB / 0.4932 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1551, allocations: 5.38 MB / 0.4985 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.16, allocations: 95.81 kB / 0.4985 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.1628, allocations: 1.247 MB / 0.4998 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.1642, allocations: 406.2 kB / 0.5002 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1653, allocations: 387.4 kB / 0.5005 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.167, allocations: 1.044 MB / 0.5015 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.169, allocations: 1.261 MB / 0.5028 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.1699, allocations: 0.5294 MB / 0.5033 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1713, allocations: 0.841 MB / 0.5041 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.1717, allocations: 112 kB / 0.5042 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1728, allocations: 0.5967 MB / 0.5048 GB, free: 24 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2695/0.4424, allocations: 0.7084 MB / 0.5055 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.4444, allocations: 0.8076 MB / 0.5063 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.4488, allocations: 2.43 MB / 0.5087 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4489, allocations: 0 / 0.5087 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4489, allocations: 0 / 0.5087 GB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.956e-05/0.449, allocations: 1.625 kB / 0.5087 GB, free: 12.12 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.004736/0.4537, allocations: 2.122 MB / 0.5107 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4538, allocations: 9.125 kB / 0.5107 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004405/0.4542, allocations: 290.3 kB / 0.511 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.4553, allocations: 275.2 kB / 0.5113 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.4567, allocations: 0.8398 MB / 0.5121 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.4568, allocations: 92.3 kB / 0.5122 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.4571, allocations: 129.1 kB / 0.5123 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/0.4652, allocations: 4.274 MB / 0.5165 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.4652, allocations: 10.78 kB / 0.5165 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.4654, allocations: 55.81 kB / 0.5165 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.4666, allocations: 0.7285 MB / 0.5173 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.474, allocations: 3.499 MB / 0.5207 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.4904, allocations: 14.32 MB / 0.5347 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.4943, allocations: 1.21 MB / 0.5358 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009635/0.4953, allocations: 0.7007 MB / 0.5365 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005464/0.5008, allocations: 3.694 MB / 0.5401 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5008, allocations: 38.11 kB / 0.5402 GB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.5008, allocations: 0 / 0.5402 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006086/0.5069, allocations: 1.772 MB / 0.5419 GB, free: 11.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.507, allocations: 55.22 kB / 0.542 GB, free: 11.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.5088, allocations: 1.474 MB / 0.5434 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.5089, allocations: 36.55 kB / 0.5434 GB, free: 10.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.51, allocations: 1.194 MB / 0.5446 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5101, allocations: 179.1 kB / 0.5448 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005402/0.5107, allocations: 429.7 kB / 0.5452 GB, free: 9.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5109, allocations: 358.6 kB / 0.5455 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.5116, allocations: 486.1 kB / 0.546 GB, free: 8.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.5135, allocations: 1.895 MB / 0.5478 GB, free: 6.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.5166, allocations: 2.597 MB / 0.5504 GB, free: 3.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/0.5167, allocations: 20 kB / 0.5504 GB, free: 3.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003534/0.5202, allocations: 2.26 MB / 0.5526 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.5203, allocations: 30.66 kB / 0.5526 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.493e-05/0.5203, allocations: 52 kB / 0.5527 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.629e-05/0.5204, allocations: 67.94 kB / 0.5527 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5217, allocations: 493.2 kB / 0.5532 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.742e-05/0.5218, allocations: 104.4 kB / 0.5533 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5232, allocations: 296.8 kB / 0.5536 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.5233, allocations: 136 kB / 0.5537 GB, free: 0.5 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.001301/0.5247, allocations: 0.7577 MB / 0.5545 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.5248, allocations: 118.4 kB / 0.5546 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.525, allocations: 148.3 kB / 0.5547 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5251, allocations: 4 kB / 0.5547 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5251, allocations: 0 / 0.5547 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5251, allocations: 3.984 kB / 0.5547 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.529, allocations: 2.891 MB / 0.5575 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.529, allocations: 12 kB / 0.5576 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.5293, allocations: 95.48 kB / 0.5576 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.5293, allocations: 23.59 kB / 0.5577 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.5294, allocations: 28 kB / 0.5577 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.5294, allocations: 19.45 kB / 0.5577 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.5294, allocations: 23.03 kB / 0.5577 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.5303, allocations: 0.8756 MB / 0.5586 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.5306, allocations: 211.3 kB / 0.5588 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.5307, allocations: 35.92 kB / 0.5588 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.5312, allocations: 23.98 kB / 0.5588 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.5312, allocations: 70.52 kB / 0.5589 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.5313, allocations: 28 kB / 0.5589 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5325, allocations: 0.9166 MB / 0.5598 GB, free: 9.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5325, allocations: 0 / 0.5598 GB, free: 9.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001792/0.5343, allocations: 402.6 kB / 0.5602 GB, free: 9.57 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.001333/0.5356, allocations: 1.45 MB / 0.5616 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5373, allocations: 1.205 MB / 0.5628 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.5373, allocations: 4 kB / 0.5628 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.5376, allocations: 241.2 kB / 0.563 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5386, allocations: 206.7 kB / 0.5632 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/0.5614, allocations: 15.44 MB / 0.5783 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.5634, allocations: 1.524 MB / 0.5798 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001595/0.565, allocations: 0.5704 MB / 0.5804 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009164/0.566, allocations: 0.6164 MB / 0.581 GB, free: 2.207 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.566, allocations: 0 / 0.581 GB, free: 2.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04646/0.6124, allocations: 22.31 MB / 0.6028 GB, free: 12.09 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.6127, allocations: 188.1 kB / 0.6029 GB, free: 11.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.324, allocations: 0 / 0.6029 GB, free: 11.84 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