Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 78.75 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3268/0.3268, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.081e-05/5.095e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6171/0.7841, allocations: 109.7 MB / 0.58 GB, free: 10.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.7845, allocations: 83.17 kB / 0.58 GB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/1.086, allocations: 72.74 MB / 0.6511 GB, free: 9.336 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.168e-06/1.086, allocations: 0 / 0.6511 GB, free: 9.336 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002924/1.086, allocations: 76 kB / 0.6512 GB, free: 9.262 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01735/1.104, allocations: 3.903 MB / 0.655 GB, free: 5.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.104, allocations: 8.031 kB / 0.655 GB, free: 5.289 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003616/1.107, allocations: 0.7084 MB / 0.6557 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00715/1.115, allocations: 0.7163 MB / 0.6564 GB, free: 3.848 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/1.125, allocations: 2.591 MB / 0.6589 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005254/1.126, allocations: 324.5 kB / 0.6592 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/1.128, allocations: 419.9 kB / 0.6596 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/1.165, allocations: 9.085 MB / 0.6685 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/1.165, allocations: 15.88 kB / 0.6685 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/1.167, allocations: 187.9 kB / 0.6687 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/1.17, allocations: 0.8037 MB / 0.6695 GB, free: 5.992 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/1.199, allocations: 7.183 MB / 0.6765 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07369/1.273, allocations: 29.76 MB / 0.7055 GB, free: 260 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3698/1.643, allocations: 2.121 MB / 0.7076 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/1.645, allocations: 0.9267 MB / 0.7085 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.661, allocations: 6.743 MB / 0.7151 GB, free: 126 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/1.661, allocations: 55.08 kB / 0.7151 GB, free: 126 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 5.119e-06/1.661, allocations: 2.625 kB / 0.7151 GB, free: 126 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.03727/1.698, allocations: 6.904 MB / 0.7219 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.698, allocations: 165.7 kB / 0.722 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/1.706, allocations: 2.386 MB / 0.7244 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/1.706, allocations: 43.31 kB / 0.7244 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/1.709, allocations: 2.514 MB / 0.7269 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000721/1.71, allocations: 397.2 kB / 0.7273 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/1.71, allocations: 80.72 kB / 0.7273 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002868/1.71, allocations: 474.7 kB / 0.7278 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.713, allocations: 1.055 MB / 0.7288 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/1.718, allocations: 3.394 MB / 0.7321 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1.723, allocations: 1.846 MB / 0.7339 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.723, allocations: 21.47 kB / 0.7339 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01184/1.735, allocations: 4.297 MB / 0.7381 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/1.735, allocations: 42 kB / 0.7382 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.735, allocations: 82.03 kB / 0.7383 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/1.735, allocations: 120.8 kB / 0.7384 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/1.742, allocations: 0.9515 MB / 0.7393 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001997/1.742, allocations: 163.2 kB / 0.7395 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/1.747, allocations: 204.9 kB / 0.7397 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009229/1.748, allocations: 239 kB / 0.7399 GB, free: 117.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (504): * Single equations (assignments): 503 * 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.0008738/1.749, allocations: 438.1 kB / 0.7403 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008226/1.75, allocations: 245.6 kB / 0.7405 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/1.753, allocations: 1.162 MB / 0.7417 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.753, allocations: 14.5 kB / 0.7417 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.753, allocations: 0.875 kB / 0.7417 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/1.753, allocations: 7.828 kB / 0.7417 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.77, allocations: 6.799 MB / 0.7483 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/1.77, allocations: 24.86 kB / 0.7484 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.773, allocations: 290.7 kB / 0.7486 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-05/1.773, allocations: 34.53 kB / 0.7487 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.773, allocations: 57.55 kB / 0.7487 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.72e-05/1.773, allocations: 49.69 kB / 0.7488 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-05/1.773, allocations: 32.56 kB / 0.7488 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/1.778, allocations: 4.587 MB / 0.7533 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.779, allocations: 357.5 kB / 0.7536 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007072/1.78, allocations: 56.22 kB / 0.7537 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.782, allocations: 63.5 kB / 0.7537 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/1.783, allocations: 167.5 kB / 0.7539 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.783, allocations: 67.97 kB / 0.754 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004456/1.787, allocations: 1.754 MB / 0.7557 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.172e-06/1.787, allocations: 0 / 0.7557 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005757/1.793, allocations: 0.71 MB / 0.7564 GB, free: 110.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.006687/1.8, allocations: 10.97 MB / 0.7671 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00636/1.806, allocations: 2.572 MB / 0.7696 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.779e-05/1.806, allocations: 3.5 kB / 0.7696 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.808, allocations: 0.7077 MB / 0.7703 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.811, allocations: 338.9 kB / 0.7706 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/1.837, allocations: 7.914 MB / 0.7783 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006543/1.844, allocations: 3.051 MB / 0.7813 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003932/1.848, allocations: 1.625 MB / 0.7829 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.973e-06/1.848, allocations: 0 / 0.7829 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.595/5.443, allocations: 63.78 MB / 0.8452 GB, free: 44.99 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat