Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 184 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 108.2 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3556/0.3556, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3704, allocations: 61.91 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5254, allocations: 111.3 MB / 0.6184 GB, free: 15.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5257, allocations: 83.92 kB / 0.6185 GB, free: 15.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5151/1.041, allocations: 65.11 MB / 0.682 GB, free: 97.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.677e-06/1.041, allocations: 2.906 kB / 0.682 GB, free: 97.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003285/1.041, allocations: 72.5 kB / 0.6821 GB, free: 97.55 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01271/1.054, allocations: 3.756 MB / 0.6858 GB, free: 96.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.054, allocations: 10.91 kB / 0.6858 GB, free: 96.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002526/1.057, allocations: 0.6082 MB / 0.6864 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/1.06, allocations: 0.6212 MB / 0.687 GB, free: 96.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/1.067, allocations: 2.42 MB / 0.6894 GB, free: 95.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/1.068, allocations: 287.1 kB / 0.6896 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.069, allocations: 370.3 kB / 0.69 GB, free: 95.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/1.088, allocations: 8.218 MB / 0.698 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-05/1.088, allocations: 22.53 kB / 0.698 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/1.088, allocations: 165.4 kB / 0.6982 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008439/1.089, allocations: 0.6187 MB / 0.6988 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.104, allocations: 6.838 MB / 0.7055 GB, free: 94.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/1.147, allocations: 25.98 MB / 0.7308 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006499/1.154, allocations: 1.973 MB / 0.7328 GB, free: 77.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008774/1.162, allocations: 6.247 MB / 0.7389 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.163, allocations: 50.83 kB / 0.7389 GB, free: 73.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/1.163, allocations: 0 / 0.7389 GB, free: 73.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01692/1.18, allocations: 5.795 MB / 0.7446 GB, free: 71.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.18, allocations: 114.5 kB / 0.7447 GB, free: 70.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/1.185, allocations: 2.163 MB / 0.7468 GB, free: 70.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.185, allocations: 40.08 kB / 0.7468 GB, free: 70.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.187, allocations: 2.172 MB / 0.749 GB, free: 68.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.188, allocations: 396.5 kB / 0.7493 GB, free: 68.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.188, allocations: 69.53 kB / 0.7494 GB, free: 68.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/1.188, allocations: 456.5 kB / 0.7498 GB, free: 67.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.19, allocations: 0.9375 MB / 0.7507 GB, free: 67.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/1.192, allocations: 3.009 MB / 0.7537 GB, free: 64.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.194, allocations: 1.639 MB / 0.7553 GB, free: 63.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.194, allocations: 23.12 kB / 0.7553 GB, free: 63.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004825/1.199, allocations: 3.893 MB / 0.7591 GB, free: 61.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/1.199, allocations: 46.31 kB / 0.7592 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/1.199, allocations: 71.09 kB / 0.7592 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.582e-05/1.199, allocations: 109.1 kB / 0.7593 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.201, allocations: 0.8061 MB / 0.7601 GB, free: 61.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.044e-05/1.201, allocations: 141.3 kB / 0.7603 GB, free: 61.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.203, allocations: 178.6 kB / 0.7604 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.204, allocations: 206.1 kB / 0.7606 GB, free: 61.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (448): * Single equations (assignments): 447 * 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.002391/1.206, allocations: 1.587 MB / 0.7622 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/1.207, allocations: 215.5 kB / 0.7624 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.208, allocations: 1.189 MB / 0.7635 GB, free: 60.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.208, allocations: 10.56 kB / 0.7635 GB, free: 60.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.208, allocations: 7.344 kB / 0.7636 GB, free: 60.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.208, allocations: 3.562 kB / 0.7636 GB, free: 60.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/1.216, allocations: 6.138 MB / 0.7695 GB, free: 57.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.216, allocations: 22.59 kB / 0.7696 GB, free: 57.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/1.217, allocations: 269.6 kB / 0.7698 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/1.217, allocations: 31.19 kB / 0.7699 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/1.217, allocations: 53.84 kB / 0.7699 GB, free: 57.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/1.217, allocations: 38.61 kB / 0.7699 GB, free: 57.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/1.217, allocations: 38.25 kB / 0.77 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.22, allocations: 4.216 MB / 0.7741 GB, free: 52.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/1.22, allocations: 335.5 kB / 0.7744 GB, free: 52.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.221, allocations: 61.08 kB / 0.7745 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/1.221, allocations: 41.19 kB / 0.7745 GB, free: 52.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.222, allocations: 162.6 kB / 0.7747 GB, free: 52.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/1.222, allocations: 66.66 kB / 0.7747 GB, free: 52.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001963/1.224, allocations: 1.582 MB / 0.7763 GB, free: 51.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.224, allocations: 3.938 kB / 0.7763 GB, free: 51.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002887/1.227, allocations: 0.6293 MB / 0.7769 GB, free: 51.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * 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.003581/1.23, allocations: 10.61 MB / 0.7873 GB, free: 41.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003198/1.233, allocations: 2.301 MB / 0.7895 GB, free: 40.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.233, allocations: 4 kB / 0.7895 GB, free: 40.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006452/1.234, allocations: 0.6458 MB / 0.7901 GB, free: 39.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.236, allocations: 353 kB / 0.7905 GB, free: 39.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/1.269, allocations: 62.16 MB / 0.8512 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005138/1.275, allocations: 2.753 MB / 0.8539 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003339/1.278, allocations: 0.931 MB / 0.8548 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.281, allocations: 1.372 MB / 0.8561 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/1.281, allocations: 0 / 0.8561 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4253/1.706, allocations: 47.96 MB / 0.9029 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.706, allocations: 173.1 kB / 0.9031 GB, free: 127 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/5.343, allocations: 0 / 0.9031 GB, free: 127 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat