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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 202 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009678/0.0009678, allocations: 94.11 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4247/0.4247, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 8 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4208, allocations: 63.24 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5642, allocations: 112.9 MB / 0.6295 GB, free: 8.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5645, allocations: 85.97 kB / 0.6296 GB, free: 8.582 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.724, allocations: 66.86 MB / 0.6949 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.724, allocations: 7.938 kB / 0.6949 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001346/0.7242, allocations: 72 kB / 0.695 GB, free: 5.465 MB / 0.4948 GB 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.009879/0.7341, allocations: 3.972 MB / 0.6988 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7341, allocations: 12.03 kB / 0.6989 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.7359, allocations: 0.6132 MB / 0.6994 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.7392, allocations: 0.6546 MB / 0.7001 GB, free: 132 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2788/1.018, allocations: 2.406 MB / 0.7024 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/1.018, allocations: 278.8 kB / 0.7027 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/1.02, allocations: 361.8 kB / 0.703 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/1.041, allocations: 9.008 MB / 0.7118 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/1.041, allocations: 14.88 kB / 0.7119 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004788/1.042, allocations: 161.7 kB / 0.712 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007821/1.042, allocations: 0.6776 MB / 0.7127 GB, free: 98.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/1.059, allocations: 8.048 MB / 0.7205 GB, free: 98.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/1.099, allocations: 28.25 MB / 0.7481 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009036/1.108, allocations: 3.011 MB / 0.7511 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/1.12, allocations: 8.644 MB / 0.7595 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.12, allocations: 39.41 kB / 0.7595 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.446e-06/1.121, allocations: 3.906 kB / 0.7595 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.02151/1.142, allocations: 7.459 MB / 0.7668 GB, free: 74.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.142, allocations: 62.94 kB / 0.7669 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/1.145, allocations: 2.299 MB / 0.7691 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1.146, allocations: 41.64 kB / 0.7692 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.147, allocations: 2.148 MB / 0.7713 GB, free: 71.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.147, allocations: 433.5 kB / 0.7717 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.147, allocations: 76.97 kB / 0.7718 GB, free: 71.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.147, allocations: 458.7 kB / 0.7722 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/1.149, allocations: 1.384 MB / 0.7735 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.152, allocations: 3.435 MB / 0.7769 GB, free: 67.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/1.154, allocations: 2.095 MB / 0.7789 GB, free: 66.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/1.154, allocations: 22.5 kB / 0.779 GB, free: 66.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.006159/1.16, allocations: 4.822 MB / 0.7837 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/1.16, allocations: 40.72 kB / 0.7837 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-05/1.16, allocations: 71.91 kB / 0.7838 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.136e-05/1.16, allocations: 108.8 kB / 0.7839 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/1.163, allocations: 0.8951 MB / 0.7848 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-05/1.163, allocations: 142.7 kB / 0.7849 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.166, allocations: 222.5 kB / 0.7851 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/1.166, allocations: 218.2 kB / 0.7853 GB, free: 63.86 MB / 0.4948 GB 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,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.002675/1.169, allocations: 1.59 MB / 0.7869 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/1.169, allocations: 218.5 kB / 0.7871 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/1.172, allocations: 2.095 MB / 0.7891 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.172, allocations: 11.56 kB / 0.7891 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/1.172, allocations: 3.953 kB / 0.7891 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.172, allocations: 11.27 kB / 0.7891 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009232/1.181, allocations: 6.43 MB / 0.7954 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.181, allocations: 15.06 kB / 0.7954 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.182, allocations: 290.8 kB / 0.7957 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/1.183, allocations: 33.22 kB / 0.7958 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/1.183, allocations: 46.19 kB / 0.7958 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/1.183, allocations: 39.95 kB / 0.7958 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.183, allocations: 29.58 kB / 0.7959 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/1.186, allocations: 4.034 MB / 0.7998 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/1.187, allocations: 328.1 kB / 0.8001 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.187, allocations: 57.22 kB / 0.8002 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/1.188, allocations: 74.64 kB / 0.8002 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.188, allocations: 147 kB / 0.8004 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/1.188, allocations: 62.09 kB / 0.8004 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00234/1.191, allocations: 1.621 MB / 0.802 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 0 / 0.802 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003764/1.195, allocations: 0.7002 MB / 0.8027 GB, free: 54.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (157): * Single equations (assignments): 157 * 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.004123/1.199, allocations: 9.221 MB / 0.8117 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004046/1.203, allocations: 3.066 MB / 0.8147 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.203, allocations: 7.969 kB / 0.8147 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/1.204, allocations: 0.8932 MB / 0.8156 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.205, allocations: 334.3 kB / 0.8159 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.235, allocations: 61.63 MB / 0.8761 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.238, allocations: 2.746 MB / 0.8788 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002973/1.241, allocations: 0.9781 MB / 0.8797 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.243, allocations: 1.363 MB / 0.8811 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of SimCode: time 1.213e-06/1.243, allocations: 0 / 0.8811 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3492/1.593, allocations: 51.92 MB / 0.9318 GB, free: 132 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/1.593, allocations: 171.7 kB / 0.9319 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.582/5.175, allocations: 1.094 kB / 0.9319 GB, free: 131.7 MB / 0.5417 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