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.001575/0.001575, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.553/1.553, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008769/0.0008768, allocations: 94.86 kB / 270.2 MB, free: 13.36 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.1978/0.1978, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5642, allocations: 110.2 MB / 0.5864 GB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/0.5647, allocations: 80.09 kB / 0.5865 GB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1967/0.7614, allocations: 74.37 MB / 0.6591 GB, free: 3.375 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.031e-06/0.7615, allocations: 0 / 0.6591 GB, free: 3.375 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003589/0.7618, allocations: 76 kB / 0.6592 GB, free: 3.301 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.0182/0.7801, allocations: 4.296 MB / 0.6634 GB, free: 14.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7801, allocations: 16.03 kB / 0.6634 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003569/0.7837, allocations: 0.7047 MB / 0.6641 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.7894, allocations: 0.7475 MB / 0.6648 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/0.7994, allocations: 2.591 MB / 0.6674 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007775/0.8003, allocations: 324.4 kB / 0.6677 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/0.8037, allocations: 411.9 kB / 0.6681 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.8346, allocations: 9.972 MB / 0.6778 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/0.8349, allocations: 15.88 kB / 0.6778 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/0.837, allocations: 191.8 kB / 0.678 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/0.8391, allocations: 0.8629 MB / 0.6789 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/0.8635, allocations: 8.512 MB / 0.6872 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3754/1.239, allocations: 31.92 MB / 0.7183 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009818/1.249, allocations: 3.027 MB / 0.7213 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/1.263, allocations: 8.975 MB / 0.7301 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.264, allocations: 47.62 kB / 0.7301 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 5.31e-06/1.264, allocations: 4.781 kB / 0.7301 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.02406/1.288, allocations: 8.738 MB / 0.7386 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.288, allocations: 118.6 kB / 0.7388 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/1.291, allocations: 2.54 MB / 0.7412 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.292, allocations: 43.8 kB / 0.7413 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.293, allocations: 2.511 MB / 0.7437 GB, free: 107 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/1.293, allocations: 437 kB / 0.7441 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.293, allocations: 83.97 kB / 0.7442 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.294, allocations: 483 kB / 0.7447 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.295, allocations: 1.436 MB / 0.7461 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/1.299, allocations: 3.772 MB / 0.7498 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/1.301, allocations: 2.231 MB / 0.752 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.417e-05/1.301, allocations: 23.06 kB / 0.752 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007902/1.309, allocations: 5.17 MB / 0.757 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.309, allocations: 42.91 kB / 0.7571 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-05/1.31, allocations: 83.12 kB / 0.7571 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/1.31, allocations: 123.1 kB / 0.7573 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/1.313, allocations: 1.008 MB / 0.7582 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/1.313, allocations: 167 kB / 0.7584 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/1.316, allocations: 243.8 kB / 0.7586 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/1.316, allocations: 236.2 kB / 0.7589 GB, free: 103 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 () * 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.003464/1.32, allocations: 1.758 MB / 0.7606 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/1.32, allocations: 240.9 kB / 0.7608 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/1.323, allocations: 2.063 MB / 0.7628 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.323, allocations: 11.62 kB / 0.7628 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.323, allocations: 1.875 kB / 0.7628 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.323, allocations: 10.2 kB / 0.7628 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.334, allocations: 6.993 MB / 0.7697 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.334, allocations: 16.88 kB / 0.7697 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.335, allocations: 299.6 kB / 0.77 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.96e-05/1.335, allocations: 29.06 kB / 0.77 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/1.336, allocations: 46.78 kB / 0.7701 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.713e-05/1.336, allocations: 38.75 kB / 0.7701 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/1.336, allocations: 30.03 kB / 0.7701 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/1.339, allocations: 4.278 MB / 0.7743 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/1.34, allocations: 355.8 kB / 0.7746 GB, free: 93.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/1.34, allocations: 51.5 kB / 0.7747 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.341, allocations: 67.2 kB / 0.7747 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.342, allocations: 153.5 kB / 0.7749 GB, free: 93.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/1.342, allocations: 64.25 kB / 0.775 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002725/1.344, allocations: 1.799 MB / 0.7767 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.344, allocations: 0 / 0.7767 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004123/1.349, allocations: 0.7661 MB / 0.7775 GB, free: 92.89 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 () * 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.004584/1.353, allocations: 9.548 MB / 0.7868 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005122/1.358, allocations: 3.212 MB / 0.7899 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.358, allocations: 6.406 kB / 0.7899 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.359, allocations: 0.8809 MB / 0.7908 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.361, allocations: 313.9 kB / 0.7911 GB, free: 82.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04332/1.405, allocations: 69.99 MB / 0.8594 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006667/1.411, allocations: 3.039 MB / 0.8624 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004124/1.415, allocations: 1.051 MB / 0.8634 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/1.419, allocations: 1.592 MB / 0.865 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of SimCode: time 2.625e-06/1.419, allocations: 4 kB / 0.865 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3731/1.792, allocations: 56.13 MB / 0.9198 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.792, allocations: 166.8 kB / 0.92 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.994/5.786, allocations: 0 / 0.92 GB, free: 138.1 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