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.001023/0.001023, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001072/0.001072, allocations: 177.3 kB / 15.95 MB, free: 216 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3424/0.3424, allocations: 40 MB / 310.4 MB, free: 9.707 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.0005985/0.0005987, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1219, allocations: 57.96 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2535/0.3755, allocations: 35.68 MB / 472.4 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.3938, allocations: 9.069 MB / 481.5 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007097/0.4009, allocations: 174.4 kB / 481.7 MB, free: 26.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005387/0.4063, allocations: 1.755 MB / 483.4 MB, free: 26.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.4227, allocations: 5.2 MB / 488.6 MB, free: 23.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.4261, allocations: 0.5683 MB / 489.2 MB, free: 23.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01977/0.4459, allocations: 13.91 MB / 0.4913 GB, free: 19.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006043/0.452, allocations: 3.667 MB / 0.4949 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.4539, allocations: 0.9071 MB / 0.4958 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.4557, allocations: 1.22 MB / 0.497 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.4562, allocations: 133.4 kB / 0.4971 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.4582, allocations: 0.8959 MB / 0.498 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.46, allocations: 1.394 MB / 0.4993 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.461, allocations: 0.7752 MB / 0.5001 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00676/0.4677, allocations: 5.25 MB / 0.5052 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4678, allocations: 0 / 0.5052 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4678, allocations: 0 / 0.5052 GB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000222/0.468, allocations: 0 / 0.5052 GB, free: 13.83 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.01054/0.4786, allocations: 3.875 MB / 0.509 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4786, allocations: 8.781 kB / 0.509 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/0.5025, allocations: 4.935 MB / 0.5138 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/0.5086, allocations: 2.59 MB / 0.5164 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.5088, allocations: 205.3 kB / 0.5166 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008059/0.5096, allocations: 283.8 kB / 0.5168 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.5245, allocations: 9.287 MB / 0.5259 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.5247, allocations: 43.64 kB / 0.5259 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.5251, allocations: 131.9 kB / 0.5261 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/0.5291, allocations: 1.915 MB / 0.5279 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.5456, allocations: 8.113 MB / 0.5359 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.592, allocations: 36.17 MB / 0.5712 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008221/0.6002, allocations: 3.704 MB / 0.5748 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.6007, allocations: 336.2 kB / 0.5751 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.6008, allocations: 47.56 kB / 0.5752 GB, free: 7.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 4.298e-06/0.6008, allocations: 0 / 0.5752 GB, free: 7.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.03887/0.6397, allocations: 16.03 MB / 0.5908 GB, free: 7.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.6399, allocations: 175.2 kB / 0.591 GB, free: 7.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/0.6454, allocations: 3.762 MB / 0.5947 GB, free: 3.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.6458, allocations: 53.7 kB / 0.5947 GB, free: 3.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.648, allocations: 2.819 MB / 0.5975 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.6491, allocations: 0.671 MB / 0.5981 GB, free: 80 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.6494, allocations: 112.1 kB / 0.5982 GB, free: 15.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.6497, allocations: 0.5375 MB / 0.5988 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.6531, allocations: 2.166 MB / 0.6009 GB, free: 13.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006448/0.6595, allocations: 5.477 MB / 0.6062 GB, free: 6.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006311/0.6659, allocations: 3.385 MB / 0.6095 GB, free: 2.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.481e-05/0.666, allocations: 36 kB / 0.6096 GB, free: 2.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.0181/0.6841, allocations: 8.225 MB / 0.6176 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/0.6843, allocations: 56.03 kB / 0.6176 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.6844, allocations: 120 kB / 0.6178 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.6867, allocations: 0.992 MB / 0.6187 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/0.6912, allocations: 1.263 MB / 0.62 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.6996, allocations: 6.627 MB / 0.6264 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/0.704, allocations: 319.4 kB / 0.6267 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007705/0.7048, allocations: 340 kB / 0.6271 GB, free: 0.6055 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 (671): * Single equations (assignments): 667 * 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.2304/0.9352, allocations: 1.969 MB / 0.629 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008385/0.936, allocations: 318.2 kB / 0.6293 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/0.9418, allocations: 3.558 MB / 0.6328 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.9419, allocations: 22.88 kB / 0.6328 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.9419, allocations: 6.781 kB / 0.6328 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.9419, allocations: 9.234 kB / 0.6328 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.9559, allocations: 8.673 MB / 0.6413 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9559, allocations: 0 / 0.6413 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.9572, allocations: 278.6 kB / 0.6415 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.9591, allocations: 0.8019 MB / 0.6423 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.9593, allocations: 30.06 kB / 0.6424 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00651/0.9658, allocations: 6.152 MB / 0.6484 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9658, allocations: 10.88 kB / 0.6484 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007831/0.9737, allocations: 6.434 MB / 0.6547 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/0.9755, allocations: 0.6711 MB / 0.6553 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005714/0.9761, allocations: 32.22 kB / 0.6553 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.9775, allocations: 110.7 kB / 0.6554 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.9778, allocations: 98.16 kB / 0.6555 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.9779, allocations: 45.86 kB / 0.6556 GB, free: 130.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003525/0.9815, allocations: 2.371 MB / 0.6579 GB, free: 129.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9815, allocations: 0 / 0.6579 GB, free: 129.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005333/0.9868, allocations: 0.9619 MB / 0.6588 GB, free: 129.4 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.000547/0.9874, allocations: 171.7 kB / 0.659 GB, free: 129.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008838/0.9962, allocations: 5.248 MB / 0.6641 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9963, allocations: 1.375 kB / 0.6641 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.9999, allocations: 1.946 MB / 0.666 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/1.003, allocations: 368.7 kB / 0.6664 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.021, allocations: 10.35 MB / 0.6765 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004345/1.025, allocations: 3.139 MB / 0.6795 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004602/1.03, allocations: 1.815 MB / 0.6813 GB, free: 119.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/1.031, allocations: 231.2 kB / 0.6815 GB, free: 119.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/1.031, allocations: 0 / 0.6815 GB, free: 119.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05114/1.082, allocations: 35.64 MB / 0.7163 GB, free: 92.11 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: