Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009815/0.0009814, allocations: 94.59 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 192.6 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 45.91 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 4 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 63.46 MB / 481.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2887/0.411, allocations: 46.1 MB / 0.5154 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.4337, allocations: 9.875 MB / 0.525 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01088/0.4446, allocations: 205.8 kB / 0.5252 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008994/0.4537, allocations: 2.221 MB / 0.5274 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02232/0.4761, allocations: 6.182 MB / 0.5334 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.4797, allocations: 0.6791 MB / 0.5341 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.484, allocations: 2.981 MB / 0.537 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008724/0.4928, allocations: 6.341 MB / 0.5432 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.4952, allocations: 0.9025 MB / 0.5441 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.4982, allocations: 1.473 MB / 0.5455 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004137/0.4986, allocations: 141.5 kB / 0.5456 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.5004, allocations: 0.7472 MB / 0.5464 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.5017, allocations: 1.357 MB / 0.5477 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006999/0.5024, allocations: 0.6958 MB / 0.5484 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006178/0.5085, allocations: 5.77 MB / 0.554 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.5086, allocations: 0 / 0.554 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5086, allocations: 0 / 0.554 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002371/0.5088, allocations: 0 / 0.554 GB, free: 12.32 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.009763/0.5186, allocations: 3.637 MB / 0.5575 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5187, allocations: 8.031 kB / 0.5576 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001635/0.5203, allocations: 0.5888 MB / 0.5581 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/0.5233, allocations: 0.6701 MB / 0.5588 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.5282, allocations: 2.179 MB / 0.5609 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.5285, allocations: 244.8 kB / 0.5611 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.5293, allocations: 313.5 kB / 0.5614 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.5502, allocations: 9.441 MB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.5504, allocations: 19.88 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/0.5508, allocations: 134.8 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.5527, allocations: 1.181 MB / 0.572 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.5714, allocations: 8.644 MB / 0.5804 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/0.6102, allocations: 27.25 MB / 0.607 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009192/0.6195, allocations: 3.091 MB / 0.61 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.6217, allocations: 1.655 MB / 0.6117 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/0.634, allocations: 9.081 MB / 0.6205 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6341, allocations: 43.56 kB / 0.6206 GB, free: 7.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 2.635e-06/0.6341, allocations: 0 / 0.6206 GB, free: 7.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02421/0.6583, allocations: 7.728 MB / 0.6281 GB, free: 15.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6584, allocations: 64.41 kB / 0.6282 GB, free: 15.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.6623, allocations: 2.599 MB / 0.6307 GB, free: 12.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.6626, allocations: 41.7 kB / 0.6307 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.6641, allocations: 2.148 MB / 0.6328 GB, free: 10.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.6645, allocations: 434.3 kB / 0.6333 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.6647, allocations: 72 kB / 0.6333 GB, free: 9.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.6649, allocations: 469.9 kB / 0.6338 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.6672, allocations: 1.417 MB / 0.6352 GB, free: 8.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/0.6712, allocations: 3.492 MB / 0.6386 GB, free: 3.523 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.6742, allocations: 2.126 MB / 0.6406 GB, free: 1.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-05/0.6743, allocations: 27.94 kB / 0.6407 GB, free: 1.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.007232/0.6815, allocations: 4.89 MB / 0.6454 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.6816, allocations: 36 kB / 0.6455 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.111e-05/0.6817, allocations: 72 kB / 0.6456 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.6818, allocations: 108.8 kB / 0.6457 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.6848, allocations: 0.8929 MB / 0.6465 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.6849, allocations: 143.4 kB / 0.6467 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.6872, allocations: 215.5 kB / 0.6469 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/0.6876, allocations: 212 kB / 0.6471 GB, free: 10.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (476): * Single equations (assignments): 475 * 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.002549/0.6901, allocations: 1.589 MB / 0.6486 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.6905, allocations: 217.1 kB / 0.6488 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.6938, allocations: 2.106 MB / 0.6509 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6938, allocations: 8 kB / 0.6509 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6938, allocations: 0 / 0.6509 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6939, allocations: 11.97 kB / 0.6509 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.7026, allocations: 6.076 MB / 0.6568 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.7027, allocations: 23.97 kB / 0.6569 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.7036, allocations: 263.5 kB / 0.6571 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/0.7037, allocations: 23.94 kB / 0.6571 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.7038, allocations: 36 kB / 0.6572 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.47e-05/0.7038, allocations: 27.92 kB / 0.6572 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.7039, allocations: 19.94 kB / 0.6572 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.7069, allocations: 2.179 MB / 0.6593 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.7077, allocations: 322 kB / 0.6597 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.708, allocations: 36 kB / 0.6597 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.7088, allocations: 63.94 kB / 0.6597 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.709, allocations: 132.2 kB / 0.6599 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.7091, allocations: 52 kB / 0.6599 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002688/0.7118, allocations: 1.645 MB / 0.6615 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7118, allocations: 0 / 0.6615 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003775/0.7156, allocations: 0.6758 MB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (136): * Single equations (assignments): 136 * 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.003914/0.7195, allocations: 2.8 MB / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005617/0.7252, allocations: 3.025 MB / 0.6679 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/0.7252, allocations: 4 kB / 0.6679 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.7266, allocations: 0.7993 MB / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.7291, allocations: 352.8 kB / 0.669 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/0.7727, allocations: 21.54 MB / 0.69 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/0.7759, allocations: 2.671 MB / 0.6926 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00275/0.7787, allocations: 0.9423 MB / 0.6936 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/0.7809, allocations: 1.366 MB / 0.6949 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of SimCode: time 3.176e-06/0.7809, allocations: 0 / 0.6949 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/1.131, allocations: 51.63 MB / 0.7453 GB, free: 189.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.131, allocations: 174.5 kB / 0.7455 GB, free: 189 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/4.659, allocations: 0 / 0.7455 GB, free: 189 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat