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.001516/0.001516, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001159/0.001159, allocations: 88.42 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5382/0.5382, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00073/0.0007301, allocations: 16 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1323, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5412/0.6736, allocations: 109.7 MB / 0.586 GB, free: 8.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.674, allocations: 86.17 kB / 0.5861 GB, free: 8.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.9759, allocations: 72.69 MB / 0.6571 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.976, allocations: 0 / 0.6571 GB, free: 15.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002647/0.9763, allocations: 80 kB / 0.6571 GB, free: 15.49 MB / 490.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.01834/0.9946, allocations: 4.089 MB / 0.6611 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.9947, allocations: 8.031 kB / 0.6611 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003695/0.9984, allocations: 0.7045 MB / 0.6618 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007108/1.006, allocations: 0.7279 MB / 0.6625 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/1.016, allocations: 2.599 MB / 0.6651 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/1.016, allocations: 324.5 kB / 0.6654 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002348/1.019, allocations: 421 kB / 0.6658 GB, free: 6.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3941/1.413, allocations: 9.174 MB / 0.6747 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/1.413, allocations: 18.69 kB / 0.6748 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/1.414, allocations: 192 kB / 0.675 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002821/1.417, allocations: 0.81 MB / 0.6757 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02794/1.445, allocations: 7.305 MB / 0.6829 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06207/1.507, allocations: 29.77 MB / 0.7119 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.519, allocations: 2.176 MB / 0.7141 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/1.533, allocations: 6.745 MB / 0.7207 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.533, allocations: 45.39 kB / 0.7207 GB, free: 77.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 6.292e-06/1.533, allocations: 5.578 kB / 0.7207 GB, free: 77.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.03533/1.569, allocations: 7.517 MB / 0.728 GB, free: 74.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.569, allocations: 165.8 kB / 0.7282 GB, free: 73.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/1.576, allocations: 2.421 MB / 0.7306 GB, free: 72.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/1.576, allocations: 42.41 kB / 0.7306 GB, free: 72.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002388/1.578, allocations: 2.503 MB / 0.7331 GB, free: 70.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/1.579, allocations: 403.1 kB / 0.7334 GB, free: 70.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.579, allocations: 80.84 kB / 0.7335 GB, free: 70.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/1.58, allocations: 478.2 kB / 0.734 GB, free: 70.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/1.583, allocations: 1.102 MB / 0.735 GB, free: 69.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.589, allocations: 3.439 MB / 0.7384 GB, free: 66.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/1.594, allocations: 1.862 MB / 0.7402 GB, free: 65.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.594, allocations: 24.06 kB / 0.7402 GB, free: 65.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01291/1.607, allocations: 4.374 MB / 0.7445 GB, free: 63.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/1.607, allocations: 43.5 kB / 0.7446 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.607, allocations: 85.27 kB / 0.7446 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/1.607, allocations: 123.2 kB / 0.7448 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00585/1.613, allocations: 0.9487 MB / 0.7457 GB, free: 63.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001895/1.614, allocations: 165.3 kB / 0.7458 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.618, allocations: 208.8 kB / 0.746 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008456/1.619, allocations: 238.1 kB / 0.7463 GB, free: 63.59 MB / 490.7 MB 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 () * Number of clocked 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.004723/1.624, allocations: 1.767 MB / 0.748 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000783/1.625, allocations: 239.6 kB / 0.7482 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/1.628, allocations: 1.178 MB / 0.7494 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.628, allocations: 11.72 kB / 0.7494 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.628, allocations: 0 / 0.7494 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.628, allocations: 7.75 kB / 0.7494 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.644, allocations: 6.815 MB / 0.7561 GB, free: 58.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/1.644, allocations: 29.5 kB / 0.7561 GB, free: 58.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.646, allocations: 288.8 kB / 0.7564 GB, free: 58.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-05/1.646, allocations: 33.25 kB / 0.7564 GB, free: 58.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.646, allocations: 55.12 kB / 0.7564 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.901e-05/1.647, allocations: 43.75 kB / 0.7565 GB, free: 58.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-05/1.647, allocations: 44.59 kB / 0.7565 GB, free: 58.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/1.652, allocations: 4.632 MB / 0.761 GB, free: 54.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.653, allocations: 345.1 kB / 0.7614 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005676/1.653, allocations: 62.81 kB / 0.7614 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.656, allocations: 67.95 kB / 0.7615 GB, free: 53.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/1.656, allocations: 157 kB / 0.7616 GB, free: 53.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.656, allocations: 67.94 kB / 0.7617 GB, free: 53.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004413/1.661, allocations: 1.783 MB / 0.7635 GB, free: 53.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.661, allocations: 0 / 0.7635 GB, free: 53.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005909/1.667, allocations: 0.7114 MB / 0.7642 GB, free: 53.16 MB / 490.7 MB 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 () * Number of clocked 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.007091/1.674, allocations: 11.04 MB / 0.7749 GB, free: 42.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006798/1.681, allocations: 2.648 MB / 0.7775 GB, free: 41.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-05/1.681, allocations: 3.844 kB / 0.7775 GB, free: 41.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/1.683, allocations: 0.729 MB / 0.7782 GB, free: 41.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.686, allocations: 336 kB / 0.7785 GB, free: 41.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/1.736, allocations: 70.99 MB / 0.8479 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006776/1.742, allocations: 3.042 MB / 0.8508 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004253/1.747, allocations: 1.63 MB / 0.8524 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/1.747, allocations: 0 / 0.8524 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.926/5.673, allocations: 62.91 MB / 0.9139 GB, free: 118.6 MB / 0.5105 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