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.0009981/0.0009982, allocations: 195.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008047/0.0008047, allocations: 87.39 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1804/0.1804, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.592e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.488, allocations: 107.6 MB / 0.6165 GB, free: 2.512 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.4883, allocations: 74.16 kB / 0.6166 GB, free: 2.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1883/0.6766, allocations: 78.64 MB / 0.6934 GB, free: 11.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6766, allocations: 0 / 0.6934 GB, free: 11.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000202/0.6769, allocations: 71.98 kB / 0.6935 GB, free: 11.82 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01148/0.6884, allocations: 3.678 MB / 0.6971 GB, free: 8.086 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6884, allocations: 11.97 kB / 0.6971 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/0.6907, allocations: 0.6596 MB / 0.6977 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/0.7072, allocations: 4.242 MB / 0.7019 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7173, allocations: 3.768 MB / 0.7055 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.7176, allocations: 271.1 kB / 0.7058 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.7191, allocations: 363.8 kB / 0.7061 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.7367, allocations: 9.098 MB / 0.715 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.7369, allocations: 59.52 kB / 0.7151 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000909/0.7379, allocations: 171.9 kB / 0.7152 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/0.739, allocations: 0.8884 MB / 0.7161 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.7524, allocations: 7.593 MB / 0.7235 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/1.043, allocations: 42.11 MB / 0.7646 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/1.05, allocations: 3.441 MB / 0.768 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/1.052, allocations: 1.788 MB / 0.7698 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/1.052, allocations: 338.4 kB / 0.7701 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/1.052, allocations: 44 kB / 0.7701 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=135): time 4.208e-06/1.052, allocations: 3.969 kB / 0.7701 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.02837/1.081, allocations: 12.13 MB / 0.782 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.081, allocations: 169.3 kB / 0.7821 GB, free: 106 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/1.085, allocations: 3.122 MB / 0.7852 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.085, allocations: 48.7 kB / 0.7852 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/1.087, allocations: 2.723 MB / 0.7879 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/1.087, allocations: 0.6115 MB / 0.7885 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.087, allocations: 107 kB / 0.7886 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.088, allocations: 0.5206 MB / 0.7891 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/1.09, allocations: 1.934 MB / 0.791 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/1.093, allocations: 5.165 MB / 0.796 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/1.096, allocations: 3.157 MB / 0.7991 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-05/1.096, allocations: 32.31 kB / 0.7991 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.009585/1.106, allocations: 7.647 MB / 0.8066 GB, free: 98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/1.106, allocations: 60.83 kB / 0.8067 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.034e-05/1.106, allocations: 120.9 kB / 0.8068 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/1.108, allocations: 0.9251 MB / 0.8077 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/1.111, allocations: 1.213 MB / 0.8089 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/1.117, allocations: 6.073 MB / 0.8148 GB, free: 94.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.121, allocations: 297 kB / 0.8151 GB, free: 94.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006446/1.122, allocations: 329 kB / 0.8154 GB, free: 94.21 MB / 0.5261 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 () * 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.0007034/1.122, allocations: 0.5168 MB / 0.8159 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/1.123, allocations: 304.2 kB / 0.8162 GB, free: 93.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/1.127, allocations: 3.088 MB / 0.8192 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.127, allocations: 13.97 kB / 0.8192 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.127, allocations: 7.094 kB / 0.8192 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.127, allocations: 6.516 kB / 0.8192 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.139, allocations: 7.767 MB / 0.8268 GB, free: 89.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.139, allocations: 0 / 0.8268 GB, free: 89.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.14, allocations: 242.1 kB / 0.827 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/1.141, allocations: 0.7435 MB / 0.8278 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.142, allocations: 27.59 kB / 0.8278 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006079/1.148, allocations: 5.621 MB / 0.8333 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.148, allocations: 0 / 0.8333 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/1.154, allocations: 5.672 MB / 0.8388 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/1.155, allocations: 364 kB / 0.8392 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/1.155, allocations: 32.8 kB / 0.8392 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.157, allocations: 94.88 kB / 0.8393 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.157, allocations: 85.58 kB / 0.8394 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.157, allocations: 36.28 kB / 0.8394 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002706/1.16, allocations: 2.18 MB / 0.8415 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.16, allocations: 0 / 0.8415 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003764/1.163, allocations: 0.8878 MB / 0.8424 GB, free: 82.18 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.006501/1.17, allocations: 6.483 MB / 0.8487 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005818/1.176, allocations: 4.733 MB / 0.8534 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.176, allocations: 8 kB / 0.8534 GB, free: 72.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.178, allocations: 1.702 MB / 0.855 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.18, allocations: 352.4 kB / 0.8554 GB, free: 70.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.194, allocations: 8.03 MB / 0.8632 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/1.196, allocations: 3.013 MB / 0.8661 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003491/1.199, allocations: 1.725 MB / 0.8678 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.201, allocations: 1.621 MB / 0.8694 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/1.201, allocations: 0 / 0.8694 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0945/1.296, allocations: 69.63 MB / 0.9374 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.296, allocations: 190.4 kB / 0.9376 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/4.742, allocations: 0 / 0.9376 GB, free: 9.656 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