Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 89.97 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.169e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6132, allocations: 106 MB / 0.5983 GB, free: 6.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.6136, allocations: 79.95 kB / 0.5984 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2014/0.815, allocations: 76.29 MB / 0.6729 GB, free: 9.457 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8151, allocations: 0 / 0.6729 GB, free: 9.457 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.8153, allocations: 75.94 kB / 0.6729 GB, free: 9.383 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.01144/0.8267, allocations: 3.626 MB / 0.6765 GB, free: 5.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8268, allocations: 11.98 kB / 0.6765 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.8443, allocations: 4.246 MB / 0.6806 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.8564, allocations: 4.279 MB / 0.6848 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.8566, allocations: 120 kB / 0.6849 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009708/0.8576, allocations: 211.9 kB / 0.6851 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00937/0.8669, allocations: 5.296 MB / 0.6903 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.8814, allocations: 8.26 MB / 0.6984 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.8816, allocations: 55.47 kB / 0.6984 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004528/0.8821, allocations: 31.98 kB / 0.6985 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/0.8832, allocations: 0.8845 MB / 0.6993 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3893/1.273, allocations: 40.45 MB / 0.7388 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/1.277, allocations: 3.013 MB / 0.7418 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/1.279, allocations: 1.763 MB / 0.7435 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/1.28, allocations: 334.2 kB / 0.7438 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.28, allocations: 49.8 kB / 0.7439 GB, free: 107 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 3.757e-06/1.28, allocations: 3.609 kB / 0.7439 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.02645/1.306, allocations: 12.29 MB / 0.7559 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.306, allocations: 175 kB / 0.756 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/1.311, allocations: 2.686 MB / 0.7587 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004059/1.311, allocations: 25.7 kB / 0.7587 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.313, allocations: 2.775 MB / 0.7614 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/1.313, allocations: 0.5923 MB / 0.762 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/1.314, allocations: 4.906 kB / 0.762 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002482/1.314, allocations: 0.5295 MB / 0.7625 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.316, allocations: 1.869 MB / 0.7643 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/1.32, allocations: 5.219 MB / 0.7694 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/1.324, allocations: 3.112 MB / 0.7724 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-05/1.324, allocations: 35.28 kB / 0.7725 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01357/1.337, allocations: 7.053 MB / 0.7794 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/1.337, allocations: 59.75 kB / 0.7794 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.337, allocations: 119.6 kB / 0.7795 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/1.339, allocations: 0.9359 MB / 0.7805 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/1.344, allocations: 1.258 MB / 0.7817 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/1.351, allocations: 5.731 MB / 0.7873 GB, free: 89.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/1.355, allocations: 200.3 kB / 0.7875 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009495/1.356, allocations: 343.1 kB / 0.7878 GB, free: 89.75 MB / 0.5105 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.0009128/1.357, allocations: 401.8 kB / 0.7882 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005037/1.362, allocations: 3.295 MB / 0.7914 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/1.363, allocations: 282.9 kB / 0.7917 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/1.368, allocations: 2.964 MB / 0.7946 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.368, allocations: 21.91 kB / 0.7946 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.368, allocations: 7.094 kB / 0.7946 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.368, allocations: 7.219 kB / 0.7946 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.379, allocations: 7.014 MB / 0.8014 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.379, allocations: 6.625 kB / 0.8015 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.38, allocations: 236.5 kB / 0.8017 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/1.382, allocations: 0.7403 MB / 0.8024 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.382, allocations: 7.969 kB / 0.8024 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/1.388, allocations: 5.259 MB / 0.8075 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.388, allocations: 3.844 kB / 0.8076 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/1.395, allocations: 5.539 MB / 0.813 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/1.395, allocations: 324.4 kB / 0.8133 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/1.396, allocations: 4 kB / 0.8133 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.397, allocations: 68.34 kB / 0.8133 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.397, allocations: 93.08 kB / 0.8134 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.397, allocations: 40.86 kB / 0.8135 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002522/1.4, allocations: 1.79 MB / 0.8152 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.4e-07/1.4, allocations: 4 kB / 0.8152 GB, free: 75.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00467/1.404, allocations: 0.7544 MB / 0.816 GB, free: 74.67 MB / 0.5105 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.006542/1.411, allocations: 6.335 MB / 0.8221 GB, free: 69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006776/1.418, allocations: 4.641 MB / 0.8267 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.418, allocations: 0 / 0.8267 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.42, allocations: 1.665 MB / 0.8283 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/1.422, allocations: 287.7 kB / 0.8286 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.439, allocations: 7.842 MB / 0.8362 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/1.441, allocations: 3.002 MB / 0.8392 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004207/1.446, allocations: 1.761 MB / 0.8409 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/1.448, allocations: 1.607 MB / 0.8425 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/1.448, allocations: 0 / 0.8425 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09652/1.544, allocations: 64.21 MB / 0.9052 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.544, allocations: 163.7 kB / 0.9053 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/5.594, allocations: 0 / 0.9053 GB, free: 7.352 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat