Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008253, allocations: 98.44 kB / 17 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000843/0.000843, allocations: 194.4 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3304/0.4547, allocations: 46.15 MB / 0.5154 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02233/0.477, allocations: 9.673 MB / 0.5249 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009932/0.487, allocations: 210.3 kB / 0.5251 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00859/0.4957, allocations: 2.228 MB / 0.5272 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01832/0.514, allocations: 6.189 MB / 0.5333 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.5171, allocations: 0.5341 MB / 0.5338 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.5212, allocations: 2.91 MB / 0.5366 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008182/0.5294, allocations: 6.341 MB / 0.5428 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.5312, allocations: 0.91 MB / 0.5437 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.5334, allocations: 1.448 MB / 0.5451 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003246/0.5337, allocations: 129.2 kB / 0.5453 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.535, allocations: 0.6035 MB / 0.5459 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.5361, allocations: 1.337 MB / 0.5472 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.5367, allocations: 0.6971 MB / 0.5478 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.5421, allocations: 5.557 MB / 0.5533 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5421, allocations: 4 kB / 0.5533 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5421, allocations: 0 / 0.5533 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000242/0.5424, allocations: 0 / 0.5533 GB, free: 13.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.008728/0.5511, allocations: 3.453 MB / 0.5566 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5512, allocations: 11.97 kB / 0.5567 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.5526, allocations: 0.5809 MB / 0.5572 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.555, allocations: 0.6194 MB / 0.5578 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.5588, allocations: 2.081 MB / 0.5599 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.559, allocations: 243.2 kB / 0.5601 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.5595, allocations: 315.1 kB / 0.5604 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.576, allocations: 8.198 MB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/0.5762, allocations: 19.81 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/0.5765, allocations: 134.8 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/0.5783, allocations: 1.093 MB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.5932, allocations: 6.699 MB / 0.5762 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.632, allocations: 24.29 MB / 0.5999 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/0.6383, allocations: 1.99 MB / 0.6018 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.6398, allocations: 0.8907 MB / 0.6027 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009022/0.6489, allocations: 6.37 MB / 0.6089 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.649, allocations: 47.2 kB / 0.609 GB, free: 2.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.649, allocations: 0 / 0.609 GB, free: 2.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01743/0.6664, allocations: 5.747 MB / 0.6146 GB, free: 13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.6665, allocations: 115.8 kB / 0.6147 GB, free: 12.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.6705, allocations: 2.426 MB / 0.6171 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.6707, allocations: 41.7 kB / 0.6171 GB, free: 10.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.6722, allocations: 2.173 MB / 0.6192 GB, free: 8.188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.6725, allocations: 391 kB / 0.6196 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.6727, allocations: 72 kB / 0.6197 GB, free: 7.738 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.6729, allocations: 453.5 kB / 0.6201 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.6744, allocations: 0.9516 MB / 0.621 GB, free: 6.336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.6773, allocations: 3.029 MB / 0.624 GB, free: 2.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.6796, allocations: 1.652 MB / 0.6256 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/0.6797, allocations: 20 kB / 0.6256 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006327/0.686, allocations: 3.915 MB / 0.6294 GB, free: 12.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.6861, allocations: 47.7 kB / 0.6295 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.612e-05/0.6862, allocations: 76.16 kB / 0.6295 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.6863, allocations: 112 kB / 0.6297 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.6887, allocations: 0.7915 MB / 0.6304 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/0.6889, allocations: 147.4 kB / 0.6306 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.6911, allocations: 175.6 kB / 0.6307 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.6914, allocations: 204 kB / 0.6309 GB, free: 11.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (449): * Single equations (assignments): 448 * Array equations: 1 * 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.003103/0.6945, allocations: 1.583 MB / 0.6325 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.695, allocations: 221.1 kB / 0.6327 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.6955, allocations: 250.3 kB / 0.6329 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.6955, allocations: 12 kB / 0.6329 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.6955, allocations: 0 / 0.6329 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.6956, allocations: 7.969 kB / 0.6329 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00914/0.7047, allocations: 5.859 MB / 0.6387 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.7048, allocations: 20 kB / 0.6387 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.7056, allocations: 223.6 kB / 0.6389 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-05/0.7056, allocations: 31.94 kB / 0.6389 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.7057, allocations: 44.62 kB / 0.639 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.23e-05/0.7057, allocations: 43.81 kB / 0.639 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.369e-05/0.7058, allocations: 31.88 kB / 0.639 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.7085, allocations: 1.956 MB / 0.641 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.7098, allocations: 314.3 kB / 0.6413 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.7102, allocations: 47.98 kB / 0.6413 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.7114, allocations: 43.98 kB / 0.6413 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.7117, allocations: 139.3 kB / 0.6415 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7118, allocations: 56 kB / 0.6415 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003708/0.7155, allocations: 1.591 MB / 0.6431 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7156, allocations: 0 / 0.6431 GB, free: 14.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005394/0.721, allocations: 0.5977 MB / 0.6437 GB, free: 13.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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 (123): * Single equations (assignments): 123 * 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.00431/0.7253, allocations: 2.582 MB / 0.6462 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005441/0.7308, allocations: 2.211 MB / 0.6483 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/0.7309, allocations: 0 / 0.6483 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.7321, allocations: 0.5321 MB / 0.6489 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.7351, allocations: 373 kB / 0.6492 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/0.7803, allocations: 19.99 MB / 0.6687 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/0.7852, allocations: 2.677 MB / 0.6714 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002992/0.7882, allocations: 0.8952 MB / 0.6722 GB, free: 13.62 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/0.7905, allocations: 1.362 MB / 0.6736 GB, free: 12.26 MB / 0.5138 GB Notification: Performance of SimCode: time 9.32e-07/0.7905, allocations: 0 / 0.6736 GB, free: 12.26 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3339/1.124, allocations: 47.07 MB / 0.7195 GB, free: 182.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/1.125, allocations: 180.2 kB / 0.7197 GB, free: 182.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/4.578, allocations: 0 / 0.7197 GB, free: 182.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat