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.0008824/0.0008824, allocations: 93.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002897, allocations: 11.98 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02164/0.1625, allocations: 23.11 MB / 0.4929 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1744, allocations: 5.18 MB / 0.498 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.1793, allocations: 103.8 kB / 0.4981 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.1829, allocations: 1.03 MB / 0.4991 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008869/0.1918, allocations: 2.926 MB / 0.5019 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.1936, allocations: 343.4 kB / 0.5023 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.1955, allocations: 1.325 MB / 0.5036 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1978, allocations: 1.639 MB / 0.5052 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005908/0.1984, allocations: 438.2 kB / 0.5056 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009215/0.1993, allocations: 0.6931 MB / 0.5063 GB, free: 336 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1994, allocations: 52 kB / 0.5063 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2757/0.4751, allocations: 447.3 kB / 0.5067 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.4764, allocations: 0.6332 MB / 0.5073 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.4769, allocations: 316.9 kB / 0.5077 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.48, allocations: 1.882 MB / 0.5095 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.48, allocations: 0 / 0.5095 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.48, allocations: 1.062 kB / 0.5095 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.31e-05/0.4801, allocations: 0 / 0.5095 GB, free: 12.76 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.004626/0.4847, allocations: 1.849 MB / 0.5113 GB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4848, allocations: 10.22 kB / 0.5113 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006281/0.4854, allocations: 290.4 kB / 0.5116 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.4866, allocations: 281.9 kB / 0.5119 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.4882, allocations: 0.8263 MB / 0.5127 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/0.4883, allocations: 95.91 kB / 0.5128 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.4886, allocations: 122.3 kB / 0.5129 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009116/0.4977, allocations: 4.274 MB / 0.517 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.4978, allocations: 14.31 kB / 0.5171 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.498, allocations: 58 kB / 0.5171 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.4994, allocations: 0.7251 MB / 0.5178 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009184/0.5086, allocations: 3.491 MB / 0.5212 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.5267, allocations: 14.33 MB / 0.5352 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.5304, allocations: 1.221 MB / 0.5364 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.5312, allocations: 0.6971 MB / 0.5371 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004697/0.5359, allocations: 3.687 MB / 0.5407 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5359, allocations: 41.8 kB / 0.5407 GB, free: 1.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.5359, allocations: 0 / 0.5407 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00564/0.5416, allocations: 1.755 MB / 0.5424 GB, free: 1.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5416, allocations: 58.97 kB / 0.5425 GB, free: 1.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.5436, allocations: 1.473 MB / 0.5439 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.5437, allocations: 31.02 kB / 0.544 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/0.5444, allocations: 1.195 MB / 0.5451 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.5446, allocations: 181.7 kB / 0.5453 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.5447, allocations: 50.12 kB / 0.5454 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.5449, allocations: 439.1 kB / 0.5458 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.5456, allocations: 481 kB / 0.5462 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.5474, allocations: 1.883 MB / 0.5481 GB, free: 13.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5485, allocations: 0.8898 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.5485, allocations: 16.34 kB / 0.549 GB, free: 13.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003172/0.5517, allocations: 2.248 MB / 0.5512 GB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.5517, allocations: 28 kB / 0.5512 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/0.5518, allocations: 58.59 kB / 0.5512 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.019e-05/0.5519, allocations: 72 kB / 0.5513 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5532, allocations: 489.8 kB / 0.5518 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.545e-05/0.5533, allocations: 103.5 kB / 0.5519 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5548, allocations: 300.4 kB / 0.5522 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.5549, allocations: 132 kB / 0.5523 GB, free: 10.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.5563, allocations: 0.761 MB / 0.553 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.5565, allocations: 126.4 kB / 0.5531 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.5568, allocations: 140.5 kB / 0.5533 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5568, allocations: 4 kB / 0.5533 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.5568, allocations: 7.984 kB / 0.5533 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5568, allocations: 0 / 0.5533 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.561, allocations: 2.886 MB / 0.5561 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.561, allocations: 12 kB / 0.5561 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.5613, allocations: 99.36 kB / 0.5562 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/0.5614, allocations: 16 kB / 0.5562 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.5614, allocations: 27.95 kB / 0.5563 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/0.5614, allocations: 26.27 kB / 0.5563 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.5614, allocations: 16.25 kB / 0.5563 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5625, allocations: 0.8696 MB / 0.5571 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.5628, allocations: 217.6 kB / 0.5574 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.563, allocations: 40.81 kB / 0.5574 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.5634, allocations: 19.98 kB / 0.5574 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.5635, allocations: 72.11 kB / 0.5575 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.5635, allocations: 28 kB / 0.5575 GB, free: 5.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.5647, allocations: 0.8975 MB / 0.5584 GB, free: 4.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5647, allocations: 1.688 kB / 0.5584 GB, free: 4.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001997/0.5667, allocations: 412.2 kB / 0.5588 GB, free: 3.754 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/0.5683, allocations: 1.448 MB / 0.5602 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.5704, allocations: 1.176 MB / 0.5613 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5704, allocations: 7.938 kB / 0.5614 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.5707, allocations: 232.9 kB / 0.5616 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5717, allocations: 203.6 kB / 0.5618 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.5873, allocations: 9.791 MB / 0.5713 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.5889, allocations: 1.536 MB / 0.5728 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.5904, allocations: 0.5716 MB / 0.5734 GB, free: 3.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/0.5911, allocations: 0.6164 MB / 0.574 GB, free: 3.113 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5911, allocations: 0 / 0.574 GB, free: 3.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04746/0.6386, allocations: 23.56 MB / 0.597 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.6388, allocations: 176.3 kB / 0.5972 GB, free: 11.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.977, allocations: 4 kB / 0.5972 GB, free: 11.51 MB / 446.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat