Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 81.14 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1144, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01376/0.1282, allocations: 9.448 MB / 489.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008987/0.1372, allocations: 3.816 MB / 493.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.1393, allocations: 51.88 kB / 493.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005352/0.1447, allocations: 2.282 MB / 495.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005167/0.1499, allocations: 1.606 MB / 497.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1517, allocations: 0.6901 MB / 498.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.1575, allocations: 3.806 MB / 0.4901 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004095/0.1617, allocations: 2.891 MB / 0.493 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.164, allocations: 1.285 MB / 0.4942 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.1669, allocations: 1.717 MB / 0.4959 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.1678, allocations: 288 kB / 0.4962 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.1704, allocations: 1.151 MB / 0.4973 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.1723, allocations: 1.574 MB / 0.4988 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.1746, allocations: 1.891 MB / 0.5007 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2256/0.4002, allocations: 6.07 MB / 0.5066 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.4003, allocations: 3.125 kB / 0.5066 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4003, allocations: 0.875 kB / 0.5066 GB, free: 20.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.4006, allocations: 0 / 0.5066 GB, free: 20.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01261/0.4132, allocations: 4.235 MB / 0.5107 GB, free: 18.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.4133, allocations: 10.34 kB / 0.5108 GB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/0.4154, allocations: 0.6087 MB / 0.5114 GB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02361/0.439, allocations: 3.748 MB / 0.515 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/0.4452, allocations: 2.479 MB / 0.5174 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.4454, allocations: 205.9 kB / 0.5176 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4465, allocations: 263.2 kB / 0.5179 GB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.4616, allocations: 8.519 MB / 0.5262 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.4618, allocations: 38.61 kB / 0.5262 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.4622, allocations: 125.1 kB / 0.5264 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/0.4652, allocations: 1.738 MB / 0.5281 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.4774, allocations: 7.438 MB / 0.5353 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.522, allocations: 33.99 MB / 0.5685 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.5294, allocations: 3.033 MB / 0.5715 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.532, allocations: 1.851 MB / 0.5733 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.5325, allocations: 328 kB / 0.5736 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.5326, allocations: 54.69 kB / 0.5736 GB, free: 4.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 4.588e-06/0.5326, allocations: 0 / 0.5736 GB, free: 4.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.04098/0.5736, allocations: 14.36 MB / 0.5877 GB, free: 5.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.5737, allocations: 182.2 kB / 0.5878 GB, free: 5.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006638/0.5804, allocations: 3.519 MB / 0.5913 GB, free: 2.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.5808, allocations: 45.7 kB / 0.5913 GB, free: 2.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.5834, allocations: 2.665 MB / 0.5939 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.5846, allocations: 0.6029 MB / 0.5945 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.5867, allocations: 1.064 MB / 0.5956 GB, free: 13.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5869, allocations: 302.9 kB / 0.5958 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.59, allocations: 2.017 MB / 0.5978 GB, free: 11.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006453/0.5965, allocations: 5.222 MB / 0.6029 GB, free: 4.777 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6074, allocations: 7.839 MB / 0.6106 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.329e-05/0.6075, allocations: 32 kB / 0.6106 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01587/0.6234, allocations: 7.796 MB / 0.6182 GB, free: 4.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.6236, allocations: 59.78 kB / 0.6183 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/0.6238, allocations: 112 kB / 0.6184 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/0.6265, allocations: 0.9695 MB / 0.6193 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/0.6307, allocations: 1.181 MB / 0.6205 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009749/0.6404, allocations: 6.924 MB / 0.6272 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.6443, allocations: 301.6 kB / 0.6275 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/0.6452, allocations: 326.9 kB / 0.6278 GB, free: 10.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],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 (630): * Single equations (assignments): 626 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003638/0.6489, allocations: 1.848 MB / 0.6296 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/0.6497, allocations: 308 kB / 0.6299 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00638/0.6561, allocations: 3.194 MB / 0.6331 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.532e-05/0.6562, allocations: 22.48 kB / 0.6331 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.6562, allocations: 4 kB / 0.6331 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.6562, allocations: 11.92 kB / 0.6331 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.6735, allocations: 7.918 MB / 0.6408 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.6736, allocations: 0 / 0.6408 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.6748, allocations: 235.6 kB / 0.6411 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.6772, allocations: 0.8124 MB / 0.6418 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.6775, allocations: 24 kB / 0.6419 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009764/0.6872, allocations: 6.439 MB / 0.6482 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6873, allocations: 4 kB / 0.6482 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.6979, allocations: 5.808 MB / 0.6538 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.6989, allocations: 365 kB / 0.6542 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007729/0.6997, allocations: 24 kB / 0.6542 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.7015, allocations: 87.88 kB / 0.6543 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.7018, allocations: 92.75 kB / 0.6544 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.702, allocations: 40 kB / 0.6544 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004302/0.7063, allocations: 2.213 MB / 0.6566 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7063, allocations: 0 / 0.6566 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004966/0.7113, allocations: 0.862 MB / 0.6574 GB, free: 11.69 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/0.7221, allocations: 6.432 MB / 0.6637 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.7325, allocations: 5.626 MB / 0.6692 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7326, allocations: 4.188 kB / 0.6692 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.736, allocations: 1.77 MB / 0.6709 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.7389, allocations: 395.8 kB / 0.6713 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.268/1.007, allocations: 45.02 MB / 0.7153 GB, free: 196.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.01, allocations: 2.886 MB / 0.7181 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004504/1.014, allocations: 1.71 MB / 0.7198 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.017, allocations: 1.552 MB / 0.7213 GB, free: 195 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/1.017, allocations: 5.031 kB / 0.7213 GB, free: 195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09525/1.112, allocations: 65.73 MB / 0.7855 GB, free: 143.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.85, allocations: 448 / 0.7855 GB, free: 143.9 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)