Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002629/0.002628, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00118/0.00118, allocations: 90.64 kB / 267.5 MB, free: 14.05 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.3742/0.3742, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.984e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5651/0.6969, allocations: 110.1 MB / 0.5804 GB, free: 9.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.6973, allocations: 80.55 kB / 0.5805 GB, free: 9.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3253/1.023, allocations: 74.41 MB / 0.6531 GB, free: 7.258 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.023, allocations: 0 / 0.6531 GB, free: 7.258 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002956/1.023, allocations: 76 kB / 0.6532 GB, free: 7.184 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02002/1.043, allocations: 4.11 MB / 0.6572 GB, free: 3.012 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/1.043, allocations: 11.97 kB / 0.6572 GB, free: 3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004052/1.047, allocations: 0.7125 MB / 0.6579 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007877/1.055, allocations: 0.7397 MB / 0.6586 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/1.067, allocations: 2.587 MB / 0.6612 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/1.067, allocations: 320.4 kB / 0.6615 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/1.07, allocations: 415.9 kB / 0.6619 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04031/1.111, allocations: 9.859 MB / 0.6715 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/1.111, allocations: 19.81 kB / 0.6715 GB, free: 3.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00221/1.113, allocations: 191.9 kB / 0.6717 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/1.116, allocations: 0.8668 MB / 0.6725 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03346/1.15, allocations: 8.361 MB / 0.6807 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4571/1.607, allocations: 31.93 MB / 0.7119 GB, free: 114 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/1.623, allocations: 3.009 MB / 0.7148 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/1.627, allocations: 1.544 MB / 0.7163 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0219/1.649, allocations: 8.974 MB / 0.7251 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.649, allocations: 49.27 kB / 0.7252 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 4.919e-06/1.649, allocations: 0 / 0.7252 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.04243/1.692, allocations: 7.632 MB / 0.7326 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.692, allocations: 120.1 kB / 0.7327 GB, free: 109 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/1.699, allocations: 2.517 MB / 0.7352 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003759/1.699, allocations: 44.61 kB / 0.7352 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.701, allocations: 2.485 MB / 0.7376 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007379/1.702, allocations: 433.1 kB / 0.7381 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006257/1.703, allocations: 84.38 kB / 0.7381 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003472/1.703, allocations: 480.3 kB / 0.7386 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.707, allocations: 1.409 MB / 0.74 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/1.714, allocations: 3.737 MB / 0.7436 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/1.719, allocations: 2.223 MB / 0.7458 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.72, allocations: 26.03 kB / 0.7458 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01483/1.734, allocations: 5.032 MB / 0.7507 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/1.735, allocations: 44.44 kB / 0.7508 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.735, allocations: 82.16 kB / 0.7509 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/1.735, allocations: 119.7 kB / 0.751 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/1.742, allocations: 1.004 MB / 0.7519 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/1.742, allocations: 164.8 kB / 0.7521 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.748, allocations: 246.7 kB / 0.7523 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.749, allocations: 243.4 kB / 0.7526 GB, free: 103.5 MB / 0.4948 GB 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.001826/1.751, allocations: 427.2 kB / 0.753 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/1.751, allocations: 250.4 kB / 0.7532 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/1.757, allocations: 2.04 MB / 0.7552 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.757, allocations: 12.81 kB / 0.7552 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.757, allocations: 3.562 kB / 0.7552 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/1.757, allocations: 3.656 kB / 0.7552 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.777, allocations: 6.974 MB / 0.762 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.777, allocations: 18.78 kB / 0.7621 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.779, allocations: 303.7 kB / 0.7623 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.371e-05/1.779, allocations: 25.38 kB / 0.7624 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.779, allocations: 49 kB / 0.7624 GB, free: 99.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.363e-05/1.779, allocations: 40.64 kB / 0.7625 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-05/1.78, allocations: 33.08 kB / 0.7625 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/1.785, allocations: 4.244 MB / 0.7666 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.786, allocations: 360.8 kB / 0.767 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.787, allocations: 50.7 kB / 0.767 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/1.79, allocations: 75.48 kB / 0.7671 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/1.79, allocations: 156.9 kB / 0.7672 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.791, allocations: 58.41 kB / 0.7673 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004892/1.795, allocations: 1.772 MB / 0.769 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.62e-07/1.796, allocations: 0 / 0.769 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005942/1.801, allocations: 0.7638 MB / 0.7698 GB, free: 94.49 MB / 0.4948 GB 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.00726/1.809, allocations: 9.531 MB / 0.7791 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007968/1.817, allocations: 3.169 MB / 0.7822 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.421e-05/1.817, allocations: 5.781 kB / 0.7822 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.819, allocations: 0.8683 MB / 0.783 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.822, allocations: 322.2 kB / 0.7833 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/1.849, allocations: 8 MB / 0.7912 GB, free: 80.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006814/1.855, allocations: 3.032 MB / 0.7941 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004124/1.86, allocations: 1.618 MB / 0.7957 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/1.86, allocations: 0 / 0.7957 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.619/5.479, allocations: 65.08 MB / 0.8593 GB, free: 24.43 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat