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.001363/0.001363, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 95.75 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4381/0.4381, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 8 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3971, allocations: 63.24 MB / 0.5193 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5529, allocations: 107.7 MB / 0.6244 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5532, allocations: 87.88 kB / 0.6245 GB, free: 13.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5088/1.062, allocations: 78.61 MB / 0.7013 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/1.062, allocations: 0 / 0.7013 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002426/1.062, allocations: 70.62 kB / 0.7013 GB, free: 96.86 MB / 0.4948 GB 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.01442/1.077, allocations: 3.907 MB / 0.7051 GB, free: 96.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.077, allocations: 9.438 kB / 0.7051 GB, free: 96.12 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002826/1.08, allocations: 0.6662 MB / 0.7058 GB, free: 96.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/1.096, allocations: 4.246 MB / 0.7099 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/1.109, allocations: 3.782 MB / 0.7136 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/1.109, allocations: 269 kB / 0.7139 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/1.111, allocations: 358.7 kB / 0.7142 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/1.129, allocations: 9.172 MB / 0.7232 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/1.129, allocations: 53.09 kB / 0.7232 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/1.13, allocations: 179 kB / 0.7234 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.131, allocations: 0.8807 MB / 0.7243 GB, free: 92.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/1.147, allocations: 7.712 MB / 0.7318 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05235/1.199, allocations: 42.12 MB / 0.7729 GB, free: 62.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/1.207, allocations: 3.454 MB / 0.7763 GB, free: 60.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/1.207, allocations: 344.4 kB / 0.7766 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.207, allocations: 47.03 kB / 0.7767 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=135): time 3.988e-06/1.207, allocations: 0 / 0.7767 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=156): time 0.02973/1.237, allocations: 14.42 MB / 0.7908 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/1.237, allocations: 176.7 kB / 0.7909 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.241, allocations: 3.151 MB / 0.794 GB, free: 53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.241, allocations: 49.58 kB / 0.7941 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.243, allocations: 2.721 MB / 0.7967 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/1.243, allocations: 0.6096 MB / 0.7973 GB, free: 50.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.243, allocations: 101.8 kB / 0.7974 GB, free: 50.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.244, allocations: 0.5344 MB / 0.7979 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/1.246, allocations: 1.964 MB / 0.7999 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/1.25, allocations: 5.199 MB / 0.8049 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/1.254, allocations: 3.163 MB / 0.808 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-05/1.254, allocations: 32 kB / 0.8081 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01239/1.266, allocations: 7.723 MB / 0.8156 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/1.266, allocations: 59.12 kB / 0.8157 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/1.266, allocations: 120.4 kB / 0.8158 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.268, allocations: 0.9211 MB / 0.8167 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/1.272, allocations: 1.208 MB / 0.8178 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006636/1.279, allocations: 6.26 MB / 0.824 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.283, allocations: 297.9 kB / 0.8242 GB, free: 34.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/1.284, allocations: 333.8 kB / 0.8246 GB, free: 34.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 634 * 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.003211/1.287, allocations: 1.879 MB / 0.8264 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006489/1.288, allocations: 304 kB / 0.8267 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/1.292, allocations: 3.105 MB / 0.8297 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.292, allocations: 21.17 kB / 0.8297 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.292, allocations: 4 kB / 0.8297 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.292, allocations: 6.469 kB / 0.8298 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.304, allocations: 7.795 MB / 0.8374 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.304, allocations: 4 kB / 0.8374 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.306, allocations: 242.3 kB / 0.8376 GB, free: 23.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.307, allocations: 0.7463 MB / 0.8383 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.307, allocations: 33.17 kB / 0.8384 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006329/1.314, allocations: 5.791 MB / 0.844 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.314, allocations: 4 kB / 0.844 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007355/1.321, allocations: 5.707 MB / 0.8496 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.322, allocations: 370.6 kB / 0.8499 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/1.323, allocations: 20 kB / 0.85 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.324, allocations: 99.44 kB / 0.8501 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.324, allocations: 85.22 kB / 0.8501 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.324, allocations: 37.33 kB / 0.8502 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00305/1.327, allocations: 2.206 MB / 0.8523 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/1.327, allocations: 0 / 0.8523 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003949/1.331, allocations: 0.892 MB / 0.8532 GB, free: 9.52 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 () * Number of clocked 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.006781/1.338, allocations: 6.541 MB / 0.8596 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00651/1.345, allocations: 4.788 MB / 0.8643 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.345, allocations: 0 / 0.8643 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/1.347, allocations: 1.723 MB / 0.8659 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.349, allocations: 361.3 kB / 0.8663 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3475/1.697, allocations: 109.1 MB / 0.9729 GB, free: 76.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/1.701, allocations: 3.002 MB / 0.9758 GB, free: 75.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004366/1.705, allocations: 1.725 MB / 0.9775 GB, free: 75.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.707, allocations: 1.622 MB / 0.9791 GB, free: 75.92 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/1.707, allocations: 0 / 0.9791 GB, free: 75.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/1.839, allocations: 69.52 MB / 1.047 GB, free: 60.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.839, allocations: 225.1 kB / 1.047 GB, free: 60.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.516/6.355, allocations: 0 / 1.047 GB, free: 60.18 MB / 0.5417 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