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.001334/0.001334, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 89.7 kB / 292.1 MB, free: 10.93 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.4262/0.4262, allocations: 44.22 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 11.98 kB / 460 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4043, allocations: 61.89 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5606, allocations: 106.8 MB / 0.6139 GB, free: 4.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5609, allocations: 87.92 kB / 0.614 GB, free: 4.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5286/1.089, allocations: 77.82 MB / 0.69 GB, free: 96.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.09, allocations: 0 / 0.69 GB, free: 96.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002017/1.09, allocations: 64.66 kB / 0.69 GB, free: 96.37 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.01325/1.103, allocations: 3.873 MB / 0.6938 GB, free: 94.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.103, allocations: 12.45 kB / 0.6938 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003006/1.106, allocations: 0.6617 MB / 0.6945 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/1.123, allocations: 4.245 MB / 0.6986 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/1.136, allocations: 4.295 MB / 0.7028 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/1.137, allocations: 270.3 kB / 0.7031 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0023/1.139, allocations: 361 kB / 0.7034 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/1.164, allocations: 9.161 MB / 0.7124 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/1.164, allocations: 55.86 kB / 0.7124 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009252/1.165, allocations: 176.6 kB / 0.7126 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001571/1.167, allocations: 0.8833 MB / 0.7135 GB, free: 91.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/1.184, allocations: 7.714 MB / 0.721 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/1.227, allocations: 42.13 MB / 0.7621 GB, free: 57.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/1.234, allocations: 3.453 MB / 0.7655 GB, free: 55.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/1.234, allocations: 335.2 kB / 0.7658 GB, free: 55.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.234, allocations: 58.31 kB / 0.7659 GB, free: 55.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 3.998e-06/1.234, allocations: 0 / 0.7659 GB, free: 55.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.03055/1.265, allocations: 14.43 MB / 0.78 GB, free: 49.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.265, allocations: 173.4 kB / 0.7801 GB, free: 49.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.27, allocations: 3.15 MB / 0.7832 GB, free: 47.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003946/1.271, allocations: 48.7 kB / 0.7833 GB, free: 47.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.272, allocations: 2.717 MB / 0.7859 GB, free: 45.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000673/1.273, allocations: 0.6068 MB / 0.7865 GB, free: 45.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/1.273, allocations: 105.9 kB / 0.7866 GB, free: 45.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/1.273, allocations: 0.5311 MB / 0.7871 GB, free: 44.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.275, allocations: 1.965 MB / 0.789 GB, free: 44.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/1.279, allocations: 5.214 MB / 0.7941 GB, free: 39.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/1.283, allocations: 3.155 MB / 0.7972 GB, free: 36.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.464e-05/1.283, allocations: 32 kB / 0.7973 GB, free: 36.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01216/1.295, allocations: 7.725 MB / 0.8048 GB, free: 29.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.295, allocations: 57.41 kB / 0.8049 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.295, allocations: 112 kB / 0.805 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/1.297, allocations: 0.9274 MB / 0.8059 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/1.301, allocations: 1.214 MB / 0.807 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/1.307, allocations: 6.252 MB / 0.8132 GB, free: 22.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/1.312, allocations: 305.1 kB / 0.8134 GB, free: 21.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.313, allocations: 330.2 kB / 0.8138 GB, free: 21.63 MB / 490.7 MB 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.004975/1.318, allocations: 1.881 MB / 0.8156 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.319, allocations: 304.1 kB / 0.8159 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/1.325, allocations: 3.103 MB / 0.8189 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/1.325, allocations: 19.44 kB / 0.8189 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.325, allocations: 8 kB / 0.8189 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/1.325, allocations: 10.33 kB / 0.819 GB, free: 17.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.342, allocations: 7.803 MB / 0.8266 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.342, allocations: 0 / 0.8266 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.343, allocations: 239.6 kB / 0.8268 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/1.345, allocations: 0.7509 MB / 0.8275 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/1.345, allocations: 27.98 kB / 0.8276 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006617/1.352, allocations: 5.793 MB / 0.8332 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.352, allocations: 0 / 0.8332 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009183/1.361, allocations: 5.705 MB / 0.8388 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/1.363, allocations: 361 kB / 0.8391 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.364, allocations: 31.91 kB / 0.8392 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/1.366, allocations: 95.8 kB / 0.8393 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/1.366, allocations: 84.84 kB / 0.8393 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.366, allocations: 47.98 kB / 0.8394 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005278/1.372, allocations: 2.202 MB / 0.8415 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.372, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006071/1.378, allocations: 0.8866 MB / 0.8424 GB, free: 10.09 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.009752/1.387, allocations: 6.527 MB / 0.8488 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007969/1.395, allocations: 4.793 MB / 0.8535 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.395, allocations: 0 / 0.8535 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.398, allocations: 1.712 MB / 0.8551 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.401, allocations: 369.7 kB / 0.8555 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3726/1.773, allocations: 109.1 MB / 0.9621 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.776, allocations: 3.001 MB / 0.965 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004491/1.781, allocations: 1.726 MB / 0.9667 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0024/1.783, allocations: 1.619 MB / 0.9683 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of SimCode: time 3.096e-06/1.783, allocations: 2.438 kB / 0.9683 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.904, allocations: 69.53 MB / 1.036 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.904, allocations: 233.1 kB / 1.036 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/6.147, allocations: 0 / 1.036 GB, free: 37.77 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