Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_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.001209/0.001208, allocations: 183 kB / 15.76 MB, free: 6.367 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.691/1.691, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001083/0.001082, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2393/0.2393, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003142, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5877, allocations: 109.8 MB / 0.586 GB, free: 6.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5881, allocations: 85.69 kB / 0.5861 GB, free: 6.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1816/0.7697, allocations: 72.68 MB / 0.6571 GB, free: 5.473 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.791e-06/0.7698, allocations: 0 / 0.6571 GB, free: 5.473 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000337/0.7702, allocations: 76 kB / 0.6572 GB, free: 5.398 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.01672/0.7869, allocations: 4.097 MB / 0.6612 GB, free: 1.234 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/0.787, allocations: 11.97 kB / 0.6612 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004962/0.792, allocations: 0.7045 MB / 0.6619 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.7974, allocations: 0.728 MB / 0.6626 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009514/0.8069, allocations: 2.595 MB / 0.6651 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.8073, allocations: 320.5 kB / 0.6654 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/0.8095, allocations: 423.9 kB / 0.6658 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/0.8345, allocations: 9.181 MB / 0.6748 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.585e-05/0.8346, allocations: 19.81 kB / 0.6748 GB, free: 2.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004964/0.8351, allocations: 195.9 kB / 0.675 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/0.8368, allocations: 0.7999 MB / 0.6758 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.8556, allocations: 7.319 MB / 0.6829 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3911/1.247, allocations: 29.76 MB / 0.712 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007704/1.254, allocations: 2.171 MB / 0.7141 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/1.267, allocations: 6.742 MB / 0.7207 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/1.267, allocations: 46.88 kB / 0.7207 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 2.955e-06/1.267, allocations: 0 / 0.7207 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02237/1.289, allocations: 7.517 MB / 0.7281 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/1.29, allocations: 176.5 kB / 0.7282 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/1.294, allocations: 2.415 MB / 0.7306 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.294, allocations: 43.33 kB / 0.7306 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.296, allocations: 2.531 MB / 0.7331 GB, free: 107 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.296, allocations: 399.8 kB / 0.7335 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.296, allocations: 78.91 kB / 0.7336 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.296, allocations: 471.8 kB / 0.734 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.298, allocations: 1.099 MB / 0.7351 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/1.301, allocations: 3.438 MB / 0.7384 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.303, allocations: 1.865 MB / 0.7403 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/1.303, allocations: 25.16 kB / 0.7403 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=506) (initialization): time 0.006626/1.31, allocations: 4.472 MB / 0.7447 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/1.31, allocations: 41.66 kB / 0.7447 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/1.31, allocations: 84.7 kB / 0.7448 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/1.31, allocations: 123.2 kB / 0.7449 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.313, allocations: 0.9521 MB / 0.7458 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/1.313, allocations: 162.6 kB / 0.746 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/1.316, allocations: 215.2 kB / 0.7462 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/1.316, allocations: 237 kB / 0.7464 GB, free: 103.2 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 () * 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.003238/1.319, allocations: 1.748 MB / 0.7481 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/1.32, allocations: 240.2 kB / 0.7483 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/1.322, allocations: 1.18 MB / 0.7495 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/1.322, allocations: 10.75 kB / 0.7495 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.322, allocations: 6.672 kB / 0.7495 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/1.322, allocations: 7.469 kB / 0.7495 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.332, allocations: 6.815 MB / 0.7562 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.332, allocations: 22.16 kB / 0.7562 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/1.333, allocations: 294.8 kB / 0.7565 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.81e-05/1.333, allocations: 34.94 kB / 0.7565 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/1.333, allocations: 55.06 kB / 0.7566 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-05/1.334, allocations: 50.53 kB / 0.7566 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/1.334, allocations: 34.53 kB / 0.7566 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/1.337, allocations: 4.637 MB / 0.7612 GB, free: 97.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/1.338, allocations: 359.7 kB / 0.7615 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/1.339, allocations: 55.44 kB / 0.7616 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/1.34, allocations: 65.02 kB / 0.7616 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/1.34, allocations: 167.3 kB / 0.7618 GB, free: 97.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/1.34, allocations: 70.86 kB / 0.7619 GB, free: 97.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002791/1.343, allocations: 1.775 MB / 0.7636 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.343, allocations: 0 / 0.7636 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004978/1.348, allocations: 0.7165 MB / 0.7643 GB, free: 96.59 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 () * 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.00564/1.353, allocations: 11.03 MB / 0.7751 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004748/1.358, allocations: 2.637 MB / 0.7776 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/1.358, allocations: 7.719 kB / 0.7776 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.359, allocations: 0.7346 MB / 0.7784 GB, free: 84.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.362, allocations: 330.9 kB / 0.7787 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04685/1.409, allocations: 70.52 MB / 0.8476 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007301/1.416, allocations: 3.044 MB / 0.8505 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003368/1.42, allocations: 1.052 MB / 0.8516 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/1.422, allocations: 1.599 MB / 0.8531 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of SimCode: time 2.204e-06/1.422, allocations: 0 / 0.8531 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.55, allocations: 53.08 MB / 0.9049 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004352/1.55, allocations: 174.1 kB / 0.9051 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.674/5.224, allocations: 0 / 0.9051 GB, free: 6.93 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat