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.001499/0.001499, allocations: 186.1 kB / 16.41 MB, free: 5.723 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.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001631/0.001631, allocations: 87.41 kB / 270.9 MB, free: 8.375 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.5061/0.5061, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6589, allocations: 110.2 MB / 0.5864 GB, free: 8.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.6593, allocations: 83.94 kB / 0.5865 GB, free: 8.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3159/0.9752, allocations: 74.38 MB / 0.6591 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.9753, allocations: 0 / 0.6591 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002576/0.9755, allocations: 76 kB / 0.6592 GB, free: 13.53 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.02045/0.996, allocations: 4.296 MB / 0.6634 GB, free: 9.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.9961, allocations: 12.03 kB / 0.6634 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003421/0.9995, allocations: 0.7124 MB / 0.6641 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007297/1.007, allocations: 0.7475 MB / 0.6648 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/1.017, allocations: 2.587 MB / 0.6673 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/1.017, allocations: 320.4 kB / 0.6677 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.02, allocations: 424.9 kB / 0.6681 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4222/1.442, allocations: 9.955 MB / 0.6778 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/1.442, allocations: 20.06 kB / 0.6778 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/1.444, allocations: 187.8 kB / 0.678 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/1.447, allocations: 0.8651 MB / 0.6788 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/1.481, allocations: 8.509 MB / 0.6871 GB, free: 94.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/1.548, allocations: 31.94 MB / 0.7183 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/1.565, allocations: 3.019 MB / 0.7213 GB, free: 78.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/1.585, allocations: 8.992 MB / 0.7301 GB, free: 73.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.585, allocations: 51.86 kB / 0.7301 GB, free: 73.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=91): time 4.518e-06/1.585, allocations: 0 / 0.7301 GB, free: 73.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.04363/1.628, allocations: 8.734 MB / 0.7386 GB, free: 70.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.628, allocations: 115.6 kB / 0.7387 GB, free: 69.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/1.634, allocations: 2.547 MB / 0.7412 GB, free: 68.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003412/1.634, allocations: 50.06 kB / 0.7413 GB, free: 68.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/1.636, allocations: 2.476 MB / 0.7437 GB, free: 66.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/1.637, allocations: 432.5 kB / 0.7441 GB, free: 66.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005115/1.638, allocations: 80.97 kB / 0.7442 GB, free: 66.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/1.638, allocations: 487.5 kB / 0.7447 GB, free: 66.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.641, allocations: 1.435 MB / 0.7461 GB, free: 65.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/1.647, allocations: 3.771 MB / 0.7497 GB, free: 61.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/1.652, allocations: 2.233 MB / 0.7519 GB, free: 61.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-05/1.652, allocations: 22.34 kB / 0.7519 GB, free: 61.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01327/1.665, allocations: 5.094 MB / 0.7569 GB, free: 58.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/1.665, allocations: 44.66 kB / 0.757 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/1.666, allocations: 80.41 kB / 0.757 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/1.666, allocations: 124.6 kB / 0.7571 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006494/1.672, allocations: 0.9978 MB / 0.7581 GB, free: 58.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/1.672, allocations: 170.1 kB / 0.7583 GB, free: 58.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.677, allocations: 245 kB / 0.7585 GB, free: 58.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/1.678, allocations: 242.5 kB / 0.7588 GB, free: 58.63 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 () * Number of clocked 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.004544/1.683, allocations: 1.752 MB / 0.7605 GB, free: 57.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/1.683, allocations: 246.6 kB / 0.7607 GB, free: 57.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/1.689, allocations: 2.06 MB / 0.7627 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.689, allocations: 11.59 kB / 0.7627 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.689, allocations: 0 / 0.7627 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.689, allocations: 11.45 kB / 0.7627 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.706, allocations: 6.998 MB / 0.7696 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.706, allocations: 18.34 kB / 0.7696 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/1.708, allocations: 291 kB / 0.7699 GB, free: 53.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.157e-05/1.708, allocations: 28.86 kB / 0.7699 GB, free: 53.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.709, allocations: 52.72 kB / 0.7699 GB, free: 53.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.232e-05/1.709, allocations: 42.97 kB / 0.77 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/1.709, allocations: 26.31 kB / 0.77 GB, free: 53.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/1.714, allocations: 4.266 MB / 0.7742 GB, free: 49.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.715, allocations: 352 kB / 0.7745 GB, free: 49.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007927/1.716, allocations: 57.09 kB / 0.7746 GB, free: 49.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.718, allocations: 71.59 kB / 0.7746 GB, free: 49.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/1.718, allocations: 154.1 kB / 0.7748 GB, free: 49.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.718, allocations: 59 kB / 0.7748 GB, free: 49.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004604/1.723, allocations: 1.801 MB / 0.7766 GB, free: 48.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.723, allocations: 3.281 kB / 0.7766 GB, free: 48.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005488/1.729, allocations: 0.7636 MB / 0.7773 GB, free: 48.27 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 () * Number of clocked 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.006464/1.735, allocations: 9.56 MB / 0.7867 GB, free: 39.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007364/1.743, allocations: 3.208 MB / 0.7898 GB, free: 38.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.32e-05/1.743, allocations: 3.844 kB / 0.7898 GB, free: 38.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.745, allocations: 0.8879 MB / 0.7907 GB, free: 37.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.747, allocations: 317.3 kB / 0.791 GB, free: 37.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04877/1.796, allocations: 70.42 MB / 0.8598 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3559/2.152, allocations: 3.033 MB / 0.8627 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004832/2.157, allocations: 1.623 MB / 0.8643 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.104e-06/2.157, allocations: 0 / 0.8643 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.772/5.929, allocations: 64.21 MB / 0.927 GB, free: 114.5 MB / 0.5105 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