Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008862/0.0008864, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3571/0.3571, allocations: 40 MB / 310.4 MB, free: 9.633 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006044/0.0006045, allocations: 16 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 57.97 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3168/0.4707, allocations: 37.76 MB / 474.6 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.4935, allocations: 8.737 MB / 483.3 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008375/0.5019, allocations: 171 kB / 483.5 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006376/0.5083, allocations: 1.948 MB / 485.4 MB, free: 25.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.5255, allocations: 5.866 MB / 491.3 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.5289, allocations: 0.5757 MB / 491.9 MB, free: 22.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02871/0.5576, allocations: 18.42 MB / 0.4983 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.5645, allocations: 3.681 MB / 0.5019 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.5674, allocations: 1.108 MB / 0.503 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.5709, allocations: 1.733 MB / 0.5047 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000794/0.5717, allocations: 130.6 kB / 0.5048 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.5742, allocations: 0.9217 MB / 0.5057 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.5759, allocations: 1.504 MB / 0.5072 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.5767, allocations: 0.7689 MB / 0.5079 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.5818, allocations: 5.178 MB / 0.513 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5818, allocations: 3.938 kB / 0.513 GB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5818, allocations: 0 / 0.513 GB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001774/0.582, allocations: 0 / 0.513 GB, free: 9.867 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.008264/0.5903, allocations: 3.674 MB / 0.5166 GB, free: 6.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5903, allocations: 12.03 kB / 0.5166 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00772/0.5981, allocations: 2.112 MB / 0.5187 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005597/0.6037, allocations: 2.418 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.6039, allocations: 205.3 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008674/0.6048, allocations: 275.8 kB / 0.5215 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.6241, allocations: 9.271 MB / 0.5305 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.6244, allocations: 43.59 kB / 0.5306 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.625, allocations: 135.9 kB / 0.5307 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/0.6285, allocations: 1.915 MB / 0.5326 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.6461, allocations: 8.133 MB / 0.5405 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/0.7026, allocations: 36.41 MB / 0.5761 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009359/0.712, allocations: 3.678 MB / 0.5797 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.7154, allocations: 2.083 MB / 0.5817 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.7161, allocations: 336.1 kB / 0.582 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.7162, allocations: 51.52 kB / 0.5821 GB, free: 1.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 4.338e-06/0.7162, allocations: 0 / 0.5821 GB, free: 1.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04431/0.7605, allocations: 16.17 MB / 0.5979 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7607, allocations: 175.3 kB / 0.598 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007956/0.7686, allocations: 3.623 MB / 0.6016 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007098/0.7694, allocations: 57.64 kB / 0.6016 GB, free: 12.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003758/0.7732, allocations: 2.803 MB / 0.6044 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/0.7745, allocations: 0.6788 MB / 0.605 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008586/0.7754, allocations: 108 kB / 0.6051 GB, free: 9.324 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0008009/0.7762, allocations: 0.5534 MB / 0.6057 GB, free: 8.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/0.7815, allocations: 2.268 MB / 0.6079 GB, free: 6.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007628/0.7892, allocations: 5.615 MB / 0.6134 GB, free: 15.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006532/0.7957, allocations: 3.508 MB / 0.6168 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/0.7959, allocations: 40 kB / 0.6168 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02077/0.8167, allocations: 8.717 MB / 0.6253 GB, free: 2.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.8169, allocations: 52 kB / 0.6254 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/0.8171, allocations: 124.1 kB / 0.6255 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.8203, allocations: 1.234 MB / 0.6267 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/0.8253, allocations: 1.298 MB / 0.628 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3398/1.165, allocations: 7.148 MB / 0.635 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005628/1.171, allocations: 332.5 kB / 0.6353 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.172, allocations: 345.7 kB / 0.6356 GB, free: 135.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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.004437/1.176, allocations: 1.97 MB / 0.6375 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/1.177, allocations: 313.4 kB / 0.6378 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006858/1.184, allocations: 3.928 MB / 0.6417 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/1.184, allocations: 23.36 kB / 0.6417 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.184, allocations: 3.375 kB / 0.6417 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.184, allocations: 13.5 kB / 0.6417 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/1.2, allocations: 9.027 MB / 0.6505 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.201, allocations: 0 / 0.6505 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.202, allocations: 271.1 kB / 0.6508 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/1.204, allocations: 1.062 MB / 0.6518 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/1.205, allocations: 26.62 kB / 0.6518 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/1.213, allocations: 6.722 MB / 0.6584 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.214, allocations: 0 / 0.6584 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.227, allocations: 6.82 MB / 0.6651 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/1.23, allocations: 0.6861 MB / 0.6657 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.231, allocations: 32.09 kB / 0.6658 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.233, allocations: 120.1 kB / 0.6659 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/1.234, allocations: 98.2 kB / 0.666 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.234, allocations: 51.98 kB / 0.666 GB, free: 123.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007135/1.241, allocations: 2.258 MB / 0.6682 GB, free: 122.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.482e-06/1.241, allocations: 0 / 0.6682 GB, free: 122.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009539/1.251, allocations: 0.969 MB / 0.6692 GB, free: 122.2 MB / 494.1 MB 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 (137): * Single equations (assignments): 133 * 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.001019/1.252, allocations: 165.7 kB / 0.6693 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.013/1.265, allocations: 5.472 MB / 0.6747 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.265, allocations: 0 / 0.6747 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004996/1.27, allocations: 2.037 MB / 0.6767 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005394/1.276, allocations: 371.2 kB / 0.677 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/1.302, allocations: 10.52 MB / 0.6873 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007045/1.309, allocations: 3.061 MB / 0.6903 GB, free: 112.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006148/1.315, allocations: 1.802 MB / 0.692 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.316, allocations: 229.1 kB / 0.6923 GB, free: 112.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.124e-06/1.316, allocations: 0 / 0.6923 GB, free: 112.4 MB / 494.1 MB Notification: Performance of Templates: time 0.07194/1.388, allocations: 35.9 MB / 0.7273 GB, free: 81.83 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) Environment - environmentSimulation: