Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009677/0.0009677, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3291/0.3291, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.000273, allocations: 4 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3255, allocations: 63.25 MB / 0.5193 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.468, allocations: 112.4 MB / 0.629 GB, free: 7.016 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.4684, allocations: 83.92 kB / 0.6291 GB, free: 6.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4147/0.8831, allocations: 65.17 MB / 0.6928 GB, free: 102.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8832, allocations: 0 / 0.6928 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002565/0.8834, allocations: 71.28 kB / 0.6928 GB, free: 102.1 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.01227/0.8957, allocations: 3.754 MB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.8958, allocations: 9.156 kB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002394/0.8982, allocations: 0.6074 MB / 0.6971 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/0.9019, allocations: 0.6221 MB / 0.6977 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006207/0.9081, allocations: 2.429 MB / 0.7001 GB, free: 99.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.9084, allocations: 284.6 kB / 0.7004 GB, free: 99.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.9101, allocations: 368 kB / 0.7007 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.9313, allocations: 8.224 MB / 0.7087 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.9316, allocations: 18.06 kB / 0.7088 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.9329, allocations: 163.1 kB / 0.7089 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.934, allocations: 0.626 MB / 0.7095 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.9513, allocations: 6.838 MB / 0.7162 GB, free: 96.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.9889, allocations: 25.99 MB / 0.7416 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.9952, allocations: 1.961 MB / 0.7435 GB, free: 79.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008365/1.004, allocations: 6.265 MB / 0.7496 GB, free: 75.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.004, allocations: 46.3 kB / 0.7497 GB, free: 75.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/1.004, allocations: 0 / 0.7497 GB, free: 75.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01689/1.021, allocations: 5.79 MB / 0.7553 GB, free: 72.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/1.021, allocations: 115 kB / 0.7554 GB, free: 72.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/1.025, allocations: 2.168 MB / 0.7575 GB, free: 71.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.025, allocations: 41.67 kB / 0.7576 GB, free: 71.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.026, allocations: 2.173 MB / 0.7597 GB, free: 69.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/1.026, allocations: 389.2 kB / 0.7601 GB, free: 69.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.027, allocations: 70.91 kB / 0.7601 GB, free: 69.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/1.027, allocations: 452.3 kB / 0.7606 GB, free: 69.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.028, allocations: 0.9361 MB / 0.7615 GB, free: 68.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.03, allocations: 3.007 MB / 0.7644 GB, free: 65.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/1.033, allocations: 1.643 MB / 0.766 GB, free: 65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/1.033, allocations: 19.09 kB / 0.766 GB, free: 65 MB / 490.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005165/1.038, allocations: 3.894 MB / 0.7698 GB, free: 63.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/1.038, allocations: 40.09 kB / 0.7699 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.324e-05/1.038, allocations: 78.3 kB / 0.77 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.024e-05/1.038, allocations: 109 kB / 0.7701 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.04, allocations: 0.7994 MB / 0.7708 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.139e-05/1.04, allocations: 148.9 kB / 0.771 GB, free: 63.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/1.042, allocations: 177 kB / 0.7711 GB, free: 63.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/1.043, allocations: 204.5 kB / 0.7713 GB, free: 63.15 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.002502/1.045, allocations: 1.581 MB / 0.7729 GB, free: 61.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/1.046, allocations: 217.2 kB / 0.7731 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/1.047, allocations: 1.189 MB / 0.7743 GB, free: 60.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.047, allocations: 19.45 kB / 0.7743 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.047, allocations: 0 / 0.7743 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.047, allocations: 3.844 kB / 0.7743 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/1.056, allocations: 6.149 MB / 0.7803 GB, free: 54.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.056, allocations: 24 kB / 0.7803 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/1.056, allocations: 271.7 kB / 0.7806 GB, free: 54.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/1.057, allocations: 32 kB / 0.7806 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/1.057, allocations: 48 kB / 0.7806 GB, free: 54.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-05/1.057, allocations: 39.11 kB / 0.7807 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-05/1.057, allocations: 35.81 kB / 0.7807 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/1.059, allocations: 4.22 MB / 0.7848 GB, free: 49.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/1.06, allocations: 328.4 kB / 0.7851 GB, free: 49.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/1.06, allocations: 55.94 kB / 0.7852 GB, free: 49.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/1.061, allocations: 55.22 kB / 0.7853 GB, free: 49.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.061, allocations: 163.2 kB / 0.7854 GB, free: 49.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/1.061, allocations: 60 kB / 0.7855 GB, free: 49.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002081/1.063, allocations: 1.589 MB / 0.787 GB, free: 47.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.063, allocations: 0 / 0.787 GB, free: 47.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003051/1.066, allocations: 0.6249 MB / 0.7876 GB, free: 47.07 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.003716/1.07, allocations: 10.59 MB / 0.798 GB, free: 35.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003613/1.074, allocations: 2.301 MB / 0.8002 GB, free: 33.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.074, allocations: 4 kB / 0.8002 GB, free: 33.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007566/1.075, allocations: 0.6558 MB / 0.8009 GB, free: 33.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.076, allocations: 356.1 kB / 0.8012 GB, free: 33.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03624/1.113, allocations: 62.16 MB / 0.8619 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005712/1.118, allocations: 2.876 MB / 0.8647 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002851/1.121, allocations: 0.9312 MB / 0.8656 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.123, allocations: 1.374 MB / 0.867 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.123, allocations: 3.938 kB / 0.867 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3794/1.503, allocations: 47.68 MB / 0.9135 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.503, allocations: 162.9 kB / 0.9137 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/5.203, allocations: 3.5 kB / 0.9137 GB, free: 131.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat