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.005833/0.005833, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001231/0.001231, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.757/1.757, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.4481/0.4481, allocations: 39.95 MB / 309.8 MB, free: 9.34 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.001406/0.001406, allocations: 67.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4124, allocations: 56.88 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01578/0.4283, allocations: 12.01 MB / 0.4929 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.44, allocations: 4.386 MB / 0.4971 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/0.4444, allocations: 70.72 kB / 0.4972 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006945/0.4514, allocations: 2.758 MB / 0.4999 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.4595, allocations: 2.042 MB / 0.5019 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.4629, allocations: 1.01 MB / 0.5029 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.4749, allocations: 5.137 MB / 0.5079 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007672/0.4827, allocations: 3.439 MB / 0.5113 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005254/0.4879, allocations: 1.773 MB / 0.513 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006137/0.4941, allocations: 2.453 MB / 0.5154 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.4963, allocations: 369.4 kB / 0.5157 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.5017, allocations: 1.412 MB / 0.5171 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00505/0.5068, allocations: 2.221 MB / 0.5193 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007785/0.5146, allocations: 2.505 MB / 0.5217 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.5315, allocations: 8.076 MB / 0.5296 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.5315, allocations: 0 / 0.5296 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5316, allocations: 0 / 0.5296 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004269/0.532, allocations: 0 / 0.5296 GB, free: 14.54 MB / 414.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.02112/0.5531, allocations: 5.757 MB / 0.5352 GB, free: 8.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.5532, allocations: 11.89 kB / 0.5352 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/0.572, allocations: 2.596 MB / 0.5378 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.5827, allocations: 3.311 MB / 0.541 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.5831, allocations: 258.8 kB / 0.5413 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002645/0.5858, allocations: 355.8 kB / 0.5416 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03044/0.6163, allocations: 12.36 MB / 0.5537 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/0.6166, allocations: 47.58 kB / 0.5537 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.6182, allocations: 167.8 kB / 0.5539 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.6227, allocations: 2.381 MB / 0.5562 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/0.6485, allocations: 10.84 MB / 0.5668 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08384/0.7324, allocations: 48.62 MB / 0.6143 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.017/0.7495, allocations: 6.041 MB / 0.6202 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/0.7547, allocations: 3.304 MB / 0.6234 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4003/1.155, allocations: 13.51 MB / 0.6366 GB, free: 125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/1.155, allocations: 62.02 kB / 0.6366 GB, free: 125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 7.314e-06/1.155, allocations: 3.406 kB / 0.6367 GB, free: 125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1092/1.264, allocations: 36.34 MB / 0.6721 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.264, allocations: 205.4 kB / 0.6723 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/1.271, allocations: 4.397 MB / 0.6766 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009184/1.272, allocations: 61.61 kB / 0.6767 GB, free: 110 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.274, allocations: 3.376 MB / 0.68 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.276, allocations: 0.9936 MB / 0.681 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/1.278, allocations: 1.416 MB / 0.6823 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/1.278, allocations: 305.1 kB / 0.6826 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003948/1.282, allocations: 3.285 MB / 0.6858 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/1.288, allocations: 7.2 MB / 0.6929 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.3, allocations: 11.24 MB / 0.7038 GB, free: 79.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.3, allocations: 36 kB / 0.7039 GB, free: 79.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02655/1.327, allocations: 13.27 MB / 0.7168 GB, free: 65.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.327, allocations: 64.88 kB / 0.7169 GB, free: 65.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.327, allocations: 136 kB / 0.717 GB, free: 65.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009515/1.337, allocations: 3.41 MB / 0.7204 GB, free: 62.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.344, allocations: 1.571 MB / 0.7219 GB, free: 60.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/1.368, allocations: 17.55 MB / 0.739 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/1.375, allocations: 435.3 kB / 0.7394 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/1.377, allocations: 412 kB / 0.7398 GB, free: 42.26 MB / 0.4981 GB 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.006138/1.384, allocations: 2.348 MB / 0.7421 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.385, allocations: 411.2 kB / 0.7425 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.4, allocations: 7.998 MB / 0.7503 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.507e-05/1.4, allocations: 28 kB / 0.7504 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/1.4, allocations: 8 kB / 0.7504 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/1.4, allocations: 19.95 kB / 0.7504 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.43, allocations: 15.39 MB / 0.7654 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/1.43, allocations: 1.031 kB / 0.7654 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.433, allocations: 383.4 kB / 0.7658 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009178/1.442, allocations: 3.169 MB / 0.7689 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006109/1.442, allocations: 47.98 kB / 0.7689 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.464, allocations: 15.81 MB / 0.7844 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.464, allocations: 4 kB / 0.7844 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.486, allocations: 12.13 MB / 0.7962 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003852/1.49, allocations: 0.941 MB / 0.7971 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.491, allocations: 36 kB / 0.7972 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.494, allocations: 192.6 kB / 0.7974 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/1.495, allocations: 166.1 kB / 0.7975 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.495, allocations: 72.12 kB / 0.7976 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005412/1.5, allocations: 2.749 MB / 0.8003 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.645e-06/1.5, allocations: 0 / 0.8003 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009444/1.51, allocations: 1.366 MB / 0.8016 GB, free: 10.71 MB / 0.5294 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 (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.00105/1.511, allocations: 181.5 kB / 0.8018 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.528, allocations: 8.223 MB / 0.8098 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.528, allocations: 4 kB / 0.8098 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006064/1.534, allocations: 3.31 MB / 0.813 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.537, allocations: 0.5004 MB / 0.8135 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/1.564, allocations: 11.89 MB / 0.8251 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006931/1.571, allocations: 3.674 MB / 0.8287 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006409/1.578, allocations: 2.176 MB / 0.8309 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.579, allocations: 291.4 kB / 0.8311 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.579, allocations: 0 / 0.8311 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.401/1.981, allocations: 57.52 MB / 0.8873 GB, free: 175.1 MB / 0.5762 GB 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)