Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.001658/0.001658, 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.221/2.221, 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.001183/0.001182, 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.297/0.297, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.713e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/0.6873, allocations: 105.6 MB / 0.576 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.6876, allocations: 80.22 kB / 0.5761 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3541/1.042, allocations: 80.86 MB / 0.6551 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.5e-06/1.042, allocations: 0 / 0.6551 GB, free: 5.176 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002864/1.042, allocations: 75.94 kB / 0.6551 GB, free: 5.102 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01693/1.059, allocations: 3.79 MB / 0.6588 GB, free: 1.254 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/1.059, allocations: 8.031 kB / 0.6588 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003373/1.062, allocations: 0.7008 MB / 0.6595 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03309/1.096, allocations: 4.292 MB / 0.6637 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/1.115, allocations: 4.514 MB / 0.6681 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/1.116, allocations: 287.5 kB / 0.6684 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/1.118, allocations: 383.8 kB / 0.6688 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/1.15, allocations: 9.576 MB / 0.6781 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/1.15, allocations: 59.45 kB / 0.6782 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/1.152, allocations: 183.8 kB / 0.6784 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/1.155, allocations: 0.9474 MB / 0.6793 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02652/1.181, allocations: 8.012 MB / 0.6871 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/1.611, allocations: 43.78 MB / 0.7299 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/1.625, allocations: 3.665 MB / 0.7334 GB, free: 94.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/1.63, allocations: 1.949 MB / 0.7353 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/1.63, allocations: 335.2 kB / 0.7357 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/1.63, allocations: 52.61 kB / 0.7357 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.751e-06/1.63, allocations: 0 / 0.7357 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.05619/1.686, allocations: 12.91 MB / 0.7483 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/1.687, allocations: 171.8 kB / 0.7485 GB, free: 91.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007704/1.694, allocations: 3.211 MB / 0.7516 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005207/1.695, allocations: 51.34 kB / 0.7517 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/1.697, allocations: 2.774 MB / 0.7544 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.699, allocations: 0.6771 MB / 0.755 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007885/1.699, allocations: 111.9 kB / 0.7551 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004483/1.7, allocations: 0.5462 MB / 0.7557 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005277/1.705, allocations: 2.086 MB / 0.7577 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007637/1.713, allocations: 5.411 MB / 0.763 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007643/1.721, allocations: 3.347 MB / 0.7663 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.721, allocations: 36.59 kB / 0.7663 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02204/1.743, allocations: 7.958 MB / 0.7741 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.743, allocations: 55.19 kB / 0.7741 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.743, allocations: 117 kB / 0.7742 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/1.747, allocations: 0.9353 MB / 0.7751 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/1.755, allocations: 1.284 MB / 0.7764 GB, free: 81.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.767, allocations: 6.098 MB / 0.7824 GB, free: 78.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/1.774, allocations: 317.5 kB / 0.7827 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.775, allocations: 342.1 kB / 0.783 GB, free: 78.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (673): * Single equations (assignments): 669 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001773/1.777, allocations: 0.5168 MB / 0.7835 GB, free: 77.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009115/1.778, allocations: 321.6 kB / 0.7838 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/1.788, allocations: 3.422 MB / 0.7871 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/1.788, allocations: 29.27 kB / 0.7872 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.788, allocations: 3.781 kB / 0.7872 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/1.788, allocations: 7.406 kB / 0.7872 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.812, allocations: 8.463 MB / 0.7954 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/1.812, allocations: 0 / 0.7954 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.815, allocations: 279.8 kB / 0.7957 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/1.819, allocations: 0.7498 MB / 0.7964 GB, free: 72.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005749/1.819, allocations: 33.56 kB / 0.7965 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/1.831, allocations: 5.619 MB / 0.802 GB, free: 69.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.831, allocations: 0 / 0.802 GB, free: 69.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.845, allocations: 6.234 MB / 0.808 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.848, allocations: 0.6609 MB / 0.8087 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007978/1.849, allocations: 24 kB / 0.8087 GB, free: 65.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.851, allocations: 104.5 kB / 0.8088 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/1.852, allocations: 101.4 kB / 0.8089 GB, free: 64.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.852, allocations: 47.28 kB / 0.809 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0051/1.857, allocations: 2.234 MB / 0.8111 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.072e-06/1.857, allocations: 2.406 kB / 0.8111 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006431/1.864, allocations: 0.9405 MB / 0.8121 GB, free: 61.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01425/1.878, allocations: 7.048 MB / 0.8189 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.889, allocations: 5.104 MB / 0.8239 GB, free: 50.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.889, allocations: 5.125 kB / 0.8239 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004652/1.894, allocations: 1.866 MB / 0.8258 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.897, allocations: 360.6 kB / 0.8261 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.923, allocations: 9.042 MB / 0.8349 GB, free: 41.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005637/1.929, allocations: 3.145 MB / 0.838 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00415/1.933, allocations: 1.747 MB / 0.8397 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/1.933, allocations: 0 / 0.8397 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.539/6.472, allocations: 92.97 MB / 0.9305 GB, free: 149 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat