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.002291/0.00229, allocations: 185.7 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 2.137/2.137, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001138/0.001138, allocations: 85.55 kB / 270.9 MB, free: 8.383 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.5406/0.5406, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004913, allocations: 8 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6539, allocations: 105.7 MB / 0.582 GB, free: 12.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.6543, allocations: 75.95 kB / 0.5821 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.358/1.012, allocations: 80.84 MB / 0.6611 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.267e-06/1.012, allocations: 0 / 0.6611 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003395/1.013, allocations: 72 kB / 0.6611 GB, free: 11.2 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01832/1.031, allocations: 4.043 MB / 0.6651 GB, free: 7.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/1.031, allocations: 8.031 kB / 0.6651 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003484/1.035, allocations: 0.7047 MB / 0.6658 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03423/1.069, allocations: 4.289 MB / 0.67 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3672/1.436, allocations: 4.525 MB / 0.6744 GB, free: 91.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/1.437, allocations: 292.5 kB / 0.6747 GB, free: 91.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/1.439, allocations: 385.4 kB / 0.675 GB, free: 91.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/1.469, allocations: 9.64 MB / 0.6844 GB, free: 89.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003565/1.469, allocations: 55.97 kB / 0.6845 GB, free: 89.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/1.471, allocations: 184.9 kB / 0.6847 GB, free: 89.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/1.474, allocations: 0.9495 MB / 0.6856 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/1.498, allocations: 8.135 MB / 0.6935 GB, free: 89.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06875/1.567, allocations: 43.78 MB / 0.7363 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.582, allocations: 3.695 MB / 0.7399 GB, free: 58.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/1.583, allocations: 332.6 kB / 0.7402 GB, free: 58.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/1.583, allocations: 54.48 kB / 0.7403 GB, free: 58.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 5.651e-06/1.583, allocations: 1.469 kB / 0.7403 GB, free: 58.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.06273/1.645, allocations: 15.24 MB / 0.7552 GB, free: 51.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/1.645, allocations: 182 kB / 0.7553 GB, free: 51.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006786/1.652, allocations: 3.239 MB / 0.7585 GB, free: 50.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/1.653, allocations: 49.27 kB / 0.7585 GB, free: 50.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/1.655, allocations: 2.775 MB / 0.7613 GB, free: 48.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.656, allocations: 0.6805 MB / 0.7619 GB, free: 47.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007678/1.657, allocations: 113.8 kB / 0.762 GB, free: 47.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004243/1.658, allocations: 0.5412 MB / 0.7626 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005514/1.663, allocations: 2.127 MB / 0.7646 GB, free: 46.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007893/1.671, allocations: 5.454 MB / 0.77 GB, free: 41.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00783/1.679, allocations: 3.358 MB / 0.7732 GB, free: 39.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/1.679, allocations: 34.03 kB / 0.7733 GB, free: 39.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02179/1.701, allocations: 8.04 MB / 0.7811 GB, free: 36.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/1.701, allocations: 61.52 kB / 0.7812 GB, free: 36.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.701, allocations: 116.9 kB / 0.7813 GB, free: 36.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/1.706, allocations: 0.9322 MB / 0.7822 GB, free: 36.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008108/1.714, allocations: 1.28 MB / 0.7835 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.726, allocations: 6.272 MB / 0.7896 GB, free: 33.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006431/1.733, allocations: 328.9 kB / 0.7899 GB, free: 32.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.734, allocations: 344.2 kB / 0.7902 GB, free: 32.87 MB / 490.7 MB 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 () * Number of clocked 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.005282/1.74, allocations: 1.962 MB / 0.7921 GB, free: 31.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009087/1.741, allocations: 319.2 kB / 0.7924 GB, free: 31.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.751, allocations: 3.464 MB / 0.7958 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/1.751, allocations: 17.62 kB / 0.7958 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.751, allocations: 6.562 kB / 0.7958 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.752, allocations: 6.422 kB / 0.7959 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.775, allocations: 8.495 MB / 0.8042 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/1.775, allocations: 4 kB / 0.8042 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.778, allocations: 285 kB / 0.8044 GB, free: 25.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003292/1.782, allocations: 0.7541 MB / 0.8052 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003982/1.782, allocations: 28 kB / 0.8052 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/1.794, allocations: 5.802 MB / 0.8109 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.794, allocations: 0 / 0.8109 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/1.808, allocations: 6.29 MB / 0.817 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.81, allocations: 0.6576 MB / 0.8176 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000953/1.811, allocations: 28 kB / 0.8177 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/1.814, allocations: 107 kB / 0.8178 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/1.815, allocations: 99.45 kB / 0.8179 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.815, allocations: 47.14 kB / 0.8179 GB, free: 13.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005258/1.82, allocations: 2.271 MB / 0.8201 GB, free: 11.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.82, allocations: 0 / 0.8201 GB, free: 11.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006495/1.827, allocations: 0.9333 MB / 0.821 GB, free: 10.98 MB / 490.7 MB 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 () * Number of clocked 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.01502/1.842, allocations: 7.101 MB / 0.828 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01206/1.854, allocations: 5.17 MB / 0.833 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.854, allocations: 4 kB / 0.833 GB, free: 76 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006421/1.86, allocations: 1.932 MB / 0.8349 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.864, allocations: 376.9 kB / 0.8353 GB, free: 14.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4648/2.328, allocations: 113.6 MB / 0.9462 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/2.334, allocations: 3.148 MB / 0.9493 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004118/2.338, allocations: 1.751 MB / 0.951 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.338, allocations: 3.25 kB / 0.951 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.106/6.444, allocations: 93.05 MB / 1.042 GB, free: 8.984 MB / 0.5105 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