Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 99.55 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.001018/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 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.977/1.977, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4436/0.4436, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.1. 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.000619/0.0006191, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1492, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3307/0.4799, allocations: 37.14 MB / 471.1 MB, free: 32.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02313/0.5031, allocations: 9.481 MB / 480.5 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009739/0.5129, allocations: 182.2 kB / 480.7 MB, free: 28.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009442/0.5224, allocations: 1.819 MB / 482.5 MB, free: 27.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02095/0.5434, allocations: 5.399 MB / 487.9 MB, free: 25.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.5477, allocations: 0.8358 MB / 488.8 MB, free: 24.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02529/0.573, allocations: 14.65 MB / 0.4916 GB, free: 20.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008431/0.5815, allocations: 4.082 MB / 0.4956 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.5847, allocations: 1.225 MB / 0.4968 GB, free: 18.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.5884, allocations: 1.691 MB / 0.4985 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.5894, allocations: 173.3 kB / 0.4986 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.5927, allocations: 1.058 MB / 0.4997 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.5962, allocations: 1.832 MB / 0.5014 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.5991, allocations: 0.932 MB / 0.5024 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6106, allocations: 6.33 MB / 0.5085 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6107, allocations: 0 / 0.5085 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.6107, allocations: 0 / 0.5085 GB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003749/0.611, allocations: 3.938 kB / 0.5085 GB, free: 12.96 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01705/0.6281, allocations: 5.192 MB / 0.5136 GB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6282, allocations: 9.406 kB / 0.5136 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08687/0.715, allocations: 8.476 MB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.7257, allocations: 3.602 MB / 0.5254 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.7261, allocations: 262.3 kB / 0.5257 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/0.7285, allocations: 343.6 kB / 0.526 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0319/0.7604, allocations: 12.46 MB / 0.5382 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003811/0.7608, allocations: 51.59 kB / 0.5382 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/0.7631, allocations: 163.8 kB / 0.5384 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.7678, allocations: 2.381 MB / 0.5407 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/0.795, allocations: 10.88 MB / 0.5513 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07856/0.8736, allocations: 48.98 MB / 0.5991 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/0.8898, allocations: 5.951 MB / 0.605 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02373/0.9136, allocations: 13.13 MB / 0.6178 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.9137, allocations: 55.81 kB / 0.6178 GB, free: 12.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 5.45e-06/0.9137, allocations: 0 / 0.6178 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.3623/1.276, allocations: 39.66 MB / 0.6566 GB, free: 139.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.276, allocations: 216.8 kB / 0.6568 GB, free: 139.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008296/1.284, allocations: 4.62 MB / 0.6613 GB, free: 137.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009391/1.285, allocations: 69.61 kB / 0.6614 GB, free: 137.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002702/1.288, allocations: 3.435 MB / 0.6647 GB, free: 135 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.29, allocations: 0.945 MB / 0.6656 GB, free: 134.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/1.29, allocations: 136.1 kB / 0.6658 GB, free: 134.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004628/1.291, allocations: 0.5905 MB / 0.6663 GB, free: 133.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/1.297, allocations: 3.086 MB / 0.6693 GB, free: 132.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008276/1.305, allocations: 6.996 MB / 0.6762 GB, free: 126.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00924/1.314, allocations: 4.532 MB / 0.6806 GB, free: 124.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002495/1.314, allocations: 43.34 kB / 0.6806 GB, free: 124.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03767/1.352, allocations: 12.61 MB / 0.693 GB, free: 120 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/1.352, allocations: 64.94 kB / 0.693 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004241/1.353, allocations: 136 kB / 0.6932 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/1.368, allocations: 3.265 MB / 0.6963 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008529/1.376, allocations: 1.541 MB / 0.6979 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/1.406, allocations: 16.07 MB / 0.7135 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/1.417, allocations: 446.2 kB / 0.714 GB, free: 102.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/1.419, allocations: 401.6 kB / 0.7144 GB, free: 102.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009569/1.429, allocations: 2.35 MB / 0.7167 GB, free: 100 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/1.432, allocations: 402.8 kB / 0.717 GB, free: 99.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02413/1.456, allocations: 7.515 MB / 0.7244 GB, free: 92.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/1.456, allocations: 25.08 kB / 0.7244 GB, free: 92.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/1.456, allocations: 12 kB / 0.7244 GB, free: 92.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.605e-05/1.456, allocations: 12.83 kB / 0.7244 GB, free: 92.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03882/1.495, allocations: 15.22 MB / 0.7393 GB, free: 76.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/1.495, allocations: 4 kB / 0.7393 GB, free: 76.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.497, allocations: 383.4 kB / 0.7397 GB, free: 76.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008632/1.506, allocations: 2.932 MB / 0.7425 GB, free: 73.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008348/1.507, allocations: 40 kB / 0.7426 GB, free: 73.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/1.526, allocations: 14.3 MB / 0.7565 GB, free: 59.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.526, allocations: 8.594 kB / 0.7565 GB, free: 59.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/1.546, allocations: 11.53 MB / 0.7678 GB, free: 47.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003832/1.55, allocations: 0.9369 MB / 0.7687 GB, free: 46.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/1.552, allocations: 40 kB / 0.7687 GB, free: 46.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.555, allocations: 199.6 kB / 0.7689 GB, free: 46.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/1.556, allocations: 145.7 kB / 0.7691 GB, free: 46.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004611/1.557, allocations: 66.89 kB / 0.7691 GB, free: 45.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0058/1.563, allocations: 2.935 MB / 0.772 GB, free: 43.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.02e-07/1.563, allocations: 0 / 0.772 GB, free: 43.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01069/1.573, allocations: 1.341 MB / 0.7733 GB, free: 41.7 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/1.575, allocations: 193 kB / 0.7735 GB, free: 41.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01521/1.59, allocations: 7.788 MB / 0.7811 GB, free: 33.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.59, allocations: 0 / 0.7811 GB, free: 33.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005387/1.595, allocations: 3.112 MB / 0.7841 GB, free: 30.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.599, allocations: 468 kB / 0.7846 GB, free: 30.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/1.623, allocations: 13.61 MB / 0.7979 GB, free: 16.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006221/1.629, allocations: 3.775 MB / 0.8016 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006738/1.636, allocations: 2.181 MB / 0.8037 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.637, allocations: 287.4 kB / 0.804 GB, free: 10.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.582e-06/1.637, allocations: 0 / 0.804 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Templates: time 0.3227/1.96, allocations: 55.11 MB / 0.8578 GB, free: 124.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: