Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008628/0.0008628, allocations: 95.58 kB / 286.7 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 45.14 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.965e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.5931, allocations: 106.9 MB / 0.6089 GB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5934, allocations: 74.34 kB / 0.6089 GB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2005/0.7939, allocations: 77.09 MB / 0.6842 GB, free: 6.797 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.794, allocations: 0 / 0.6842 GB, free: 6.797 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001781/0.7942, allocations: 68 kB / 0.6843 GB, free: 6.73 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.0115/0.8057, allocations: 3.678 MB / 0.6879 GB, free: 2.992 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.8058, allocations: 12.03 kB / 0.6879 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.8233, allocations: 4.238 MB / 0.692 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.8337, allocations: 3.768 MB / 0.6957 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.8339, allocations: 116 kB / 0.6958 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008875/0.8348, allocations: 211.9 kB / 0.696 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008611/0.8434, allocations: 5.3 MB / 0.7012 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.8567, allocations: 8.261 MB / 0.7093 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.8569, allocations: 55.47 kB / 0.7093 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.8573, allocations: 28 kB / 0.7094 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.8585, allocations: 0.8845 MB / 0.7102 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06922/0.9277, allocations: 40.46 MB / 0.7497 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3718/1.3, allocations: 3.008 MB / 0.7527 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/1.302, allocations: 1.758 MB / 0.7544 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/1.303, allocations: 336.5 kB / 0.7547 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.303, allocations: 48.34 kB / 0.7548 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=135): time 5.811e-06/1.303, allocations: 0 / 0.7548 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.0262/1.329, allocations: 12.29 MB / 0.7668 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/1.329, allocations: 175.9 kB / 0.7669 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005127/1.334, allocations: 2.683 MB / 0.7695 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/1.335, allocations: 26.67 kB / 0.7696 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.337, allocations: 2.783 MB / 0.7723 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/1.337, allocations: 0.5947 MB / 0.7729 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/1.338, allocations: 0 / 0.7729 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003633/1.338, allocations: 0.5334 MB / 0.7734 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/1.341, allocations: 1.869 MB / 0.7752 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/1.345, allocations: 5.218 MB / 0.7803 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/1.35, allocations: 3.109 MB / 0.7833 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.154e-05/1.35, allocations: 34.22 kB / 0.7834 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01287/1.363, allocations: 7.055 MB / 0.7903 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.363, allocations: 58 kB / 0.7903 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.363, allocations: 123.8 kB / 0.7904 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/1.365, allocations: 0.9355 MB / 0.7914 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/1.369, allocations: 1.258 MB / 0.7926 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/1.376, allocations: 5.726 MB / 0.7982 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.381, allocations: 209.6 kB / 0.7984 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.383, allocations: 341.3 kB / 0.7987 GB, free: 109.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (662): * Single equations (assignments): 658 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009249/1.384, allocations: 399.9 kB / 0.7991 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005073/1.389, allocations: 3.296 MB / 0.8023 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007389/1.389, allocations: 279.1 kB / 0.8026 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.394, allocations: 2.97 MB / 0.8055 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/1.394, allocations: 24.88 kB / 0.8055 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.394, allocations: 3.219 kB / 0.8055 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.394, allocations: 11.45 kB / 0.8055 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.407, allocations: 7.009 MB / 0.8124 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.407, allocations: 2.078 kB / 0.8124 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.408, allocations: 241.5 kB / 0.8126 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/1.41, allocations: 0.7417 MB / 0.8133 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.41, allocations: 9.969 kB / 0.8133 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005926/1.416, allocations: 5.253 MB / 0.8184 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.416, allocations: 0 / 0.8184 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/1.423, allocations: 5.543 MB / 0.8239 GB, free: 99.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.425, allocations: 323.9 kB / 0.8242 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.425, allocations: 0 / 0.8242 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.427, allocations: 72.05 kB / 0.8242 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.427, allocations: 88.41 kB / 0.8243 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.427, allocations: 40.77 kB / 0.8244 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002647/1.43, allocations: 1.795 MB / 0.8261 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.43, allocations: 0 / 0.8261 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004627/1.434, allocations: 0.7635 MB / 0.8269 GB, free: 98.61 MB / 0.5261 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 (115): * Single equations (assignments): 111 * 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.006552/1.441, allocations: 6.334 MB / 0.833 GB, free: 95.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006435/1.447, allocations: 4.653 MB / 0.8376 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.447, allocations: 0 / 0.8376 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.449, allocations: 1.654 MB / 0.8392 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.451, allocations: 299.3 kB / 0.8395 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.469, allocations: 7.841 MB / 0.8471 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/1.471, allocations: 2.999 MB / 0.8501 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004283/1.476, allocations: 1.757 MB / 0.8518 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/1.478, allocations: 1.609 MB / 0.8534 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/1.478, allocations: 0 / 0.8534 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1556/1.634, allocations: 64.18 MB / 0.916 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.634, allocations: 155.4 kB / 0.9162 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/5.271, allocations: 0 / 0.9162 GB, free: 21.15 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat