Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.00127/0.00127, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.623/1.623, allocations: 205.2 MB / 218.9 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.000824/0.0008239, allocations: 99.64 kB / 267.1 MB, free: 9.266 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.4019/0.4019, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.748e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 58.84 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5425, allocations: 110.1 MB / 0.5804 GB, free: 10.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5428, allocations: 75.97 kB / 0.5805 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1866/0.7294, allocations: 74.42 MB / 0.6531 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7295, allocations: 0 / 0.6531 GB, free: 15.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001713/0.7297, allocations: 76 kB / 0.6532 GB, free: 15.9 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01385/0.7435, allocations: 4.106 MB / 0.6572 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/0.7436, allocations: 8.031 kB / 0.6572 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003941/0.7476, allocations: 0.7086 MB / 0.6579 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.7536, allocations: 0.7436 MB / 0.6586 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008934/0.7626, allocations: 2.583 MB / 0.6612 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/0.7632, allocations: 333.7 kB / 0.6615 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.7658, allocations: 411.9 kB / 0.6619 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3567/1.122, allocations: 9.858 MB / 0.6715 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/1.123, allocations: 16.41 kB / 0.6715 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/1.124, allocations: 187.1 kB / 0.6717 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/1.126, allocations: 0.8632 MB / 0.6725 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/1.15, allocations: 8.365 MB / 0.6807 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/1.204, allocations: 31.95 MB / 0.7119 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009753/1.214, allocations: 3.003 MB / 0.7148 GB, free: 78.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/1.217, allocations: 1.541 MB / 0.7164 GB, free: 78.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/1.235, allocations: 8.987 MB / 0.7251 GB, free: 72.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.568e-05/1.235, allocations: 49.23 kB / 0.7252 GB, free: 72.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=91): time 7.254e-06/1.235, allocations: 0 / 0.7252 GB, free: 72.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.02977/1.265, allocations: 7.625 MB / 0.7326 GB, free: 69.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/1.265, allocations: 130.8 kB / 0.7327 GB, free: 69.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/1.272, allocations: 2.517 MB / 0.7352 GB, free: 68.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000452/1.273, allocations: 45.64 kB / 0.7352 GB, free: 68.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002525/1.275, allocations: 2.506 MB / 0.7377 GB, free: 66.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008142/1.276, allocations: 439.1 kB / 0.7381 GB, free: 66.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/1.277, allocations: 79.56 kB / 0.7382 GB, free: 66.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005642/1.277, allocations: 480.3 kB / 0.7386 GB, free: 65.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/1.28, allocations: 1.409 MB / 0.74 GB, free: 65.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/1.284, allocations: 3.743 MB / 0.7437 GB, free: 61.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/1.288, allocations: 2.216 MB / 0.7458 GB, free: 60.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.288, allocations: 22.91 kB / 0.7459 GB, free: 60.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01139/1.3, allocations: 5.124 MB / 0.7509 GB, free: 58.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.3, allocations: 39.66 kB / 0.7509 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/1.3, allocations: 83.03 kB / 0.751 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/1.301, allocations: 125.9 kB / 0.7511 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.305, allocations: 0.998 MB / 0.7521 GB, free: 58.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001942/1.305, allocations: 161.9 kB / 0.7522 GB, free: 58.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/1.309, allocations: 241.9 kB / 0.7525 GB, free: 58.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009837/1.31, allocations: 248.1 kB / 0.7527 GB, free: 58.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 523 * 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.00147/1.312, allocations: 436.8 kB / 0.7531 GB, free: 58.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008504/1.313, allocations: 240.3 kB / 0.7533 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/1.317, allocations: 2.042 MB / 0.7553 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.317, allocations: 10.94 kB / 0.7554 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.317, allocations: 0 / 0.7554 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.317, allocations: 10.89 kB / 0.7554 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.333, allocations: 6.981 MB / 0.7622 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.443e-05/1.333, allocations: 15.72 kB / 0.7622 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.334, allocations: 293.2 kB / 0.7625 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.115e-05/1.334, allocations: 27.38 kB / 0.7625 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.334, allocations: 50.62 kB / 0.7626 GB, free: 53.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.202e-05/1.334, allocations: 45.72 kB / 0.7626 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/1.334, allocations: 31 kB / 0.7626 GB, free: 53.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/1.338, allocations: 4.237 MB / 0.7668 GB, free: 49.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.34, allocations: 359.9 kB / 0.7671 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008969/1.341, allocations: 54.88 kB / 0.7672 GB, free: 49.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.343, allocations: 81.52 kB / 0.7672 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.343, allocations: 151.1 kB / 0.7674 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.343, allocations: 56.34 kB / 0.7674 GB, free: 49.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004881/1.348, allocations: 1.778 MB / 0.7692 GB, free: 48.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.348, allocations: 0 / 0.7692 GB, free: 48.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005796/1.354, allocations: 0.7584 MB / 0.7699 GB, free: 48.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.005262/1.359, allocations: 9.535 MB / 0.7792 GB, free: 39.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/1.364, allocations: 3.177 MB / 0.7823 GB, free: 38.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/1.365, allocations: 3.812 kB / 0.7823 GB, free: 38.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.366, allocations: 0.8741 MB / 0.7832 GB, free: 38.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.368, allocations: 313.8 kB / 0.7835 GB, free: 38.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/1.391, allocations: 7.537 MB / 0.7908 GB, free: 34.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00571/1.397, allocations: 3.038 MB / 0.7938 GB, free: 33.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00433/1.402, allocations: 1.052 MB / 0.7948 GB, free: 33.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/1.405, allocations: 1.595 MB / 0.7964 GB, free: 32.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/1.405, allocations: 4 kB / 0.7964 GB, free: 32.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.508, allocations: 57.19 MB / 0.8522 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003796/1.508, allocations: 147.5 kB / 0.8524 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/5.381, allocations: 4 kB / 0.8524 GB, free: 15.18 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat