Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_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.001222/0.001222, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.494/1.494, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008809/0.0008809, allocations: 88.27 kB / 267.1 MB, free: 9.285 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.4088/0.4088, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.665e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 58.84 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5853, allocations: 105.6 MB / 0.576 GB, free: 252 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5856, allocations: 82.27 kB / 0.5761 GB, free: 208 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2183/0.8039, allocations: 80.87 MB / 0.6551 GB, free: 8.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.646e-06/0.804, allocations: 7.984 kB / 0.6551 GB, free: 8.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001942/0.8042, allocations: 76 kB / 0.6552 GB, free: 8.051 MB / 474.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.01451/0.8187, allocations: 3.777 MB / 0.6588 GB, free: 4.215 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.8188, allocations: 12.03 kB / 0.6589 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002973/0.8218, allocations: 0.7086 MB / 0.6595 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/0.8398, allocations: 4.285 MB / 0.6637 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.8529, allocations: 4.523 MB / 0.6682 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/0.8533, allocations: 287.5 kB / 0.6684 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/0.8554, allocations: 383.7 kB / 0.6688 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.8769, allocations: 9.576 MB / 0.6781 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/0.8771, allocations: 59.45 kB / 0.6782 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.8782, allocations: 183.9 kB / 0.6784 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001304/0.8795, allocations: 0.9435 MB / 0.6793 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.8959, allocations: 8.02 MB / 0.6871 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3645/1.26, allocations: 43.77 MB / 0.7299 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006948/1.267, allocations: 3.663 MB / 0.7335 GB, free: 72.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/1.269, allocations: 1.952 MB / 0.7354 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/1.27, allocations: 332.5 kB / 0.7357 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.27, allocations: 60.59 kB / 0.7357 GB, free: 71.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 3.937e-06/1.27, allocations: 0 / 0.7357 GB, free: 71.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.02991/1.3, allocations: 12.9 MB / 0.7483 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.3, allocations: 171.8 kB / 0.7485 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/1.305, allocations: 3.203 MB / 0.7516 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005092/1.305, allocations: 50.53 kB / 0.7517 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.308, allocations: 2.839 MB / 0.7544 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.309, allocations: 0.6823 MB / 0.7551 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/1.309, allocations: 114.2 kB / 0.7552 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003254/1.31, allocations: 0.5396 MB / 0.7558 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/1.313, allocations: 2.089 MB / 0.7578 GB, free: 66.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004098/1.317, allocations: 5.412 MB / 0.7631 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/1.322, allocations: 3.345 MB / 0.7663 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.085e-05/1.322, allocations: 33.78 kB / 0.7664 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01796/1.34, allocations: 8.062 MB / 0.7742 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.34, allocations: 56.09 kB / 0.7743 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002312/1.34, allocations: 119 kB / 0.7744 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.343, allocations: 0.9313 MB / 0.7753 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.347, allocations: 1.276 MB / 0.7766 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/1.354, allocations: 6.093 MB / 0.7825 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.358, allocations: 314.5 kB / 0.7828 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007771/1.359, allocations: 346.6 kB / 0.7831 GB, free: 54.91 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.0007346/1.36, allocations: 0.5187 MB / 0.7837 GB, free: 54.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/1.36, allocations: 325.8 kB / 0.784 GB, free: 54.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/1.366, allocations: 3.427 MB / 0.7873 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.366, allocations: 22.17 kB / 0.7873 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.366, allocations: 10.84 kB / 0.7873 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.366, allocations: 7.641 kB / 0.7874 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.381, allocations: 8.457 MB / 0.7956 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.381, allocations: 0 / 0.7956 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.382, allocations: 290.5 kB / 0.7959 GB, free: 49.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/1.384, allocations: 0.7441 MB / 0.7966 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/1.384, allocations: 34.66 kB / 0.7966 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/1.391, allocations: 5.636 MB / 0.8022 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.391, allocations: 0 / 0.8022 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008627/1.399, allocations: 6.23 MB / 0.8082 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.401, allocations: 0.6585 MB / 0.8089 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.402, allocations: 27.44 kB / 0.8089 GB, free: 43.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.403, allocations: 104.6 kB / 0.809 GB, free: 43.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/1.403, allocations: 97.33 kB / 0.8091 GB, free: 43.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.404, allocations: 48.86 kB / 0.8091 GB, free: 43.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003415/1.407, allocations: 2.235 MB / 0.8113 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.407, allocations: 0 / 0.8113 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004786/1.412, allocations: 0.939 MB / 0.8122 GB, free: 42.34 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.007969/1.42, allocations: 7.055 MB / 0.8191 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00812/1.428, allocations: 5.098 MB / 0.8241 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.428, allocations: 0 / 0.8241 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/1.431, allocations: 1.87 MB / 0.8259 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.434, allocations: 365 kB / 0.8263 GB, free: 36.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.456, allocations: 8.577 MB / 0.8347 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/1.459, allocations: 3.146 MB / 0.8377 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004435/1.463, allocations: 1.803 MB / 0.8395 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/1.467, allocations: 1.716 MB / 0.8412 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/1.467, allocations: 0 / 0.8412 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.426/1.893, allocations: 73.45 MB / 0.9129 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.893, allocations: 197.5 kB / 0.9131 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.712/6.604, allocations: 0 / 0.9131 GB, free: 111.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat