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.001595/0.001595, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 194.6 kB / 16.25 MB, free: 6.617 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.844/1.844, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4468/0.4468, allocations: 39.93 MB / 309.4 MB, free: 9.344 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.001469/0.00147, allocations: 75.88 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3516/0.5121, allocations: 43.45 MB / 477.4 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0296/0.5418, allocations: 9.549 MB / 487 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01548/0.5574, allocations: 187.7 kB / 487.2 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006276/0.5638, allocations: 2.651 MB / 489.8 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007393/0.5713, allocations: 1.896 MB / 491.7 MB, free: 20.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.5739, allocations: 0.9498 MB / 492.7 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00865/0.5826, allocations: 5.266 MB / 497.9 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007348/0.59, allocations: 3.615 MB / 0.4898 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005466/0.5955, allocations: 1.804 MB / 0.4916 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007655/0.6032, allocations: 2.718 MB / 0.4942 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002625/0.6059, allocations: 367.4 kB / 0.4946 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/0.6111, allocations: 1.433 MB / 0.496 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005266/0.6164, allocations: 2.236 MB / 0.4981 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009013/0.6255, allocations: 2.532 MB / 0.5006 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02109/0.6466, allocations: 7.865 MB / 0.5083 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.6467, allocations: 1.094 kB / 0.5083 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6467, allocations: 0 / 0.5083 GB, free: 8.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005424/0.6472, allocations: 0 / 0.5083 GB, free: 8.406 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.02837/0.6756, allocations: 5.761 MB / 0.5139 GB, free: 4.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.6757, allocations: 13.02 kB / 0.5139 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.6939, allocations: 2.599 MB / 0.5165 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.7043, allocations: 3.264 MB / 0.5197 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.7047, allocations: 254.8 kB / 0.5199 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.7075, allocations: 348 kB / 0.5202 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02987/0.7374, allocations: 12.36 MB / 0.5323 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.7376, allocations: 55.52 kB / 0.5324 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005089/0.7381, allocations: 171.8 kB / 0.5325 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/0.7419, allocations: 2.373 MB / 0.5348 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/0.7664, allocations: 10.84 MB / 0.5454 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07758/0.8441, allocations: 48.81 MB / 0.5931 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.8598, allocations: 6.04 MB / 0.599 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004978/0.8648, allocations: 3.295 MB / 0.6022 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/0.8883, allocations: 13.53 MB / 0.6154 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.8884, allocations: 63.8 kB / 0.6155 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 5.45e-06/0.8885, allocations: 0 / 0.6155 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4143/1.303, allocations: 36.33 MB / 0.651 GB, free: 142.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.303, allocations: 208.2 kB / 0.6512 GB, free: 142.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009979/1.313, allocations: 4.392 MB / 0.6555 GB, free: 140.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001509/1.315, allocations: 66.48 kB / 0.6555 GB, free: 140.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003884/1.318, allocations: 3.381 MB / 0.6588 GB, free: 138.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002774/1.321, allocations: 0.9845 MB / 0.6598 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003218/1.324, allocations: 1.424 MB / 0.6612 GB, free: 136.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/1.325, allocations: 301.1 kB / 0.6615 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006462/1.331, allocations: 3.291 MB / 0.6647 GB, free: 135.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.342, allocations: 7.198 MB / 0.6717 GB, free: 129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/1.361, allocations: 11.23 MB / 0.6827 GB, free: 120.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004549/1.361, allocations: 41 kB / 0.6827 GB, free: 120.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0428/1.404, allocations: 13.27 MB / 0.6957 GB, free: 114.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/1.405, allocations: 60 kB / 0.6957 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003902/1.405, allocations: 136 kB / 0.6959 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.416, allocations: 3.417 MB / 0.6992 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008396/1.424, allocations: 1.577 MB / 0.7007 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/1.451, allocations: 17.56 MB / 0.7179 GB, free: 93.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00894/1.46, allocations: 431.4 kB / 0.7183 GB, free: 92.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003492/1.463, allocations: 412 kB / 0.7187 GB, free: 92.18 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.01185/1.475, allocations: 2.347 MB / 0.721 GB, free: 89.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/1.478, allocations: 406.7 kB / 0.7214 GB, free: 89.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.497, allocations: 8.01 MB / 0.7292 GB, free: 81.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-05/1.497, allocations: 28 kB / 0.7292 GB, free: 81.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.693e-05/1.497, allocations: 12 kB / 0.7292 GB, free: 81.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/1.497, allocations: 11.95 kB / 0.7293 GB, free: 81.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03397/1.531, allocations: 15.55 MB / 0.7444 GB, free: 65.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/1.531, allocations: 8.969 kB / 0.7444 GB, free: 65.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.533, allocations: 384.1 kB / 0.7448 GB, free: 65.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008348/1.541, allocations: 3.173 MB / 0.7479 GB, free: 62.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.542, allocations: 40 kB / 0.7479 GB, free: 62.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/1.56, allocations: 15.76 MB / 0.7633 GB, free: 46.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.56, allocations: 0 / 0.7633 GB, free: 46.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/1.58, allocations: 12.13 MB / 0.7752 GB, free: 34.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004595/1.585, allocations: 0.937 MB / 0.7761 GB, free: 33.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002443/1.588, allocations: 41.59 kB / 0.7761 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/1.591, allocations: 187.7 kB / 0.7763 GB, free: 32.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006569/1.591, allocations: 170.1 kB / 0.7765 GB, free: 32.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.592, allocations: 66.38 kB / 0.7765 GB, free: 32.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004291/1.596, allocations: 2.749 MB / 0.7792 GB, free: 29.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.596, allocations: 0 / 0.7792 GB, free: 29.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009047/1.605, allocations: 1.366 MB / 0.7806 GB, free: 28.58 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.0006509/1.606, allocations: 185.5 kB / 0.7807 GB, free: 28.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01798/1.624, allocations: 10.93 MB / 0.7914 GB, free: 17.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.624, allocations: 4 kB / 0.7914 GB, free: 17.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004957/1.629, allocations: 3.322 MB / 0.7947 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.633, allocations: 0.4987 MB / 0.7952 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/1.914, allocations: 14.33 MB / 0.8091 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007456/1.921, allocations: 3.678 MB / 0.8127 GB, free: 135.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006008/1.927, allocations: 2.171 MB / 0.8149 GB, free: 135.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.929, allocations: 289.8 kB / 0.8151 GB, free: 135.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.094e-06/1.929, allocations: 0 / 0.8151 GB, free: 135.3 MB / 494.1 MB Notification: Performance of Templates: time 0.117/2.046, allocations: 60.49 MB / 0.8742 GB, free: 109.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)