Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001377/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002004/0.002004, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 222 MB, free: 4.785 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.4169/0.4169, allocations: 39.94 MB / 309.3 MB, free: 9.645 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.001737/0.001738, allocations: 66.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 56.88 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3974/0.5495, allocations: 43.46 MB / 477.3 MB, free: 28.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.5791, allocations: 9.642 MB / 486.9 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/0.5942, allocations: 189.2 kB / 487.1 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006654/0.601, allocations: 2.743 MB / 489.8 MB, free: 21.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007737/0.6088, allocations: 1.908 MB / 491.7 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.6118, allocations: 0.9285 MB / 492.7 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.623, allocations: 7.203 MB / 499.9 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009682/0.6328, allocations: 3.355 MB / 0.4914 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/0.6384, allocations: 1.56 MB / 0.493 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007387/0.6458, allocations: 2.612 MB / 0.4955 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.6488, allocations: 251.3 kB / 0.4958 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00651/0.6553, allocations: 1.379 MB / 0.4971 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006553/0.6619, allocations: 2.122 MB / 0.4992 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.6727, allocations: 2.402 MB / 0.5015 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.6905, allocations: 7.722 MB / 0.5091 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.6906, allocations: 5.844 kB / 0.5091 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6906, allocations: 0 / 0.5091 GB, free: 8.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006364/0.6912, allocations: 0 / 0.5091 GB, free: 8.223 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.02971/0.721, allocations: 5.769 MB / 0.5147 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7211, allocations: 8.75 kB / 0.5147 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.7397, allocations: 2.593 MB / 0.5172 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.751, allocations: 3.258 MB / 0.5204 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.7513, allocations: 254.8 kB / 0.5207 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/0.7542, allocations: 352 kB / 0.521 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.7874, allocations: 12.36 MB / 0.5331 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/0.7877, allocations: 55.47 kB / 0.5331 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.7899, allocations: 167.8 kB / 0.5333 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004733/0.7946, allocations: 2.385 MB / 0.5356 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/0.8217, allocations: 10.83 MB / 0.5462 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07343/0.8952, allocations: 48.82 MB / 0.5939 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.9121, allocations: 6.04 MB / 0.5998 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/0.9176, allocations: 3.303 MB / 0.603 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/0.9432, allocations: 13.52 MB / 0.6162 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.618e-05/0.9433, allocations: 59.81 kB / 0.6163 GB, free: 11.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 5.491e-06/0.9433, allocations: 3.938 kB / 0.6163 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4407/1.384, allocations: 36.32 MB / 0.6517 GB, free: 141.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.384, allocations: 205.9 kB / 0.6519 GB, free: 141.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00931/1.394, allocations: 4.393 MB / 0.6562 GB, free: 139.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.395, allocations: 66.95 kB / 0.6563 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.398, allocations: 3.373 MB / 0.6596 GB, free: 137.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00223/1.4, allocations: 0.9861 MB / 0.6605 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003112/1.404, allocations: 1.42 MB / 0.6619 GB, free: 135.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/1.404, allocations: 301.1 kB / 0.6622 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008568/1.412, allocations: 3.287 MB / 0.6654 GB, free: 134.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01182/1.424, allocations: 7.207 MB / 0.6725 GB, free: 127.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/1.444, allocations: 11.23 MB / 0.6834 GB, free: 119.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002637/1.445, allocations: 38.5 kB / 0.6835 GB, free: 119.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03476/1.479, allocations: 13.28 MB / 0.6964 GB, free: 113.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.479, allocations: 64 kB / 0.6965 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/1.48, allocations: 136.8 kB / 0.6966 GB, free: 113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009804/1.489, allocations: 3.406 MB / 0.6999 GB, free: 110.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006765/1.496, allocations: 1.571 MB / 0.7015 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/1.519, allocations: 16.39 MB / 0.7175 GB, free: 93.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008543/1.527, allocations: 431.4 kB / 0.7179 GB, free: 93.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.529, allocations: 412 kB / 0.7183 GB, free: 92.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006553/1.536, allocations: 2.347 MB / 0.7206 GB, free: 90.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.537, allocations: 406.8 kB / 0.721 GB, free: 89.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.552, allocations: 8.002 MB / 0.7288 GB, free: 81.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/1.552, allocations: 28 kB / 0.7288 GB, free: 81.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/1.552, allocations: 12 kB / 0.7288 GB, free: 81.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/1.552, allocations: 11.95 kB / 0.7288 GB, free: 81.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.581, allocations: 15.56 MB / 0.744 GB, free: 66.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/1.581, allocations: 4 kB / 0.744 GB, free: 66.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.584, allocations: 386 kB / 0.7444 GB, free: 65.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008848/1.592, allocations: 3.161 MB / 0.7475 GB, free: 62.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008286/1.593, allocations: 47.98 kB / 0.7475 GB, free: 62.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/1.611, allocations: 14.65 MB / 0.7618 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.611, allocations: 0 / 0.7618 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.632, allocations: 12.14 MB / 0.7737 GB, free: 35.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003817/1.635, allocations: 0.9409 MB / 0.7746 GB, free: 34.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/1.638, allocations: 39.98 kB / 0.7746 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004406/1.642, allocations: 187.7 kB / 0.7748 GB, free: 34.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/1.643, allocations: 161.4 kB / 0.775 GB, free: 34.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000677/1.644, allocations: 60 kB / 0.775 GB, free: 34.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007188/1.651, allocations: 2.753 MB / 0.7777 GB, free: 31.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.72e-07/1.651, allocations: 0 / 0.7777 GB, free: 31.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01213/1.664, allocations: 1.366 MB / 0.7791 GB, free: 30.14 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/1.665, allocations: 191.5 kB / 0.7792 GB, free: 29.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01785/1.683, allocations: 8.182 MB / 0.7872 GB, free: 21.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.683, allocations: 4 kB / 0.7872 GB, free: 21.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006578/1.689, allocations: 3.318 MB / 0.7905 GB, free: 18.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007047/1.696, allocations: 494 kB / 0.7909 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.728, allocations: 14.31 MB / 0.8049 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2756/2.003, allocations: 3.678 MB / 0.8085 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006446/2.01, allocations: 2.18 MB / 0.8106 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/2.011, allocations: 283.1 kB / 0.8109 GB, free: 130.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/2.011, allocations: 0 / 0.8109 GB, free: 130.7 MB / 494.1 MB Notification: Performance of Templates: time 0.1193/2.13, allocations: 58.21 MB / 0.8678 GB, free: 113.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)