Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001813/0.001813, allocations: 168.7 kB / 15.95 MB, free: 204 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.803/1.803, allocations: 205.4 MB / 222.1 MB, free: 5.363 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.409/0.409, allocations: 40 MB / 310.4 MB, free: 10.1 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.0008832/0.0008832, allocations: 16 kB / 378.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1708, allocations: 57.96 MB / 436.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2895/0.4603, allocations: 24.02 MB / 460.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.4747, allocations: 5.228 MB / 466.1 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005596/0.4803, allocations: 98.47 kB / 466.1 MB, free: 33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.4841, allocations: 1.061 MB / 467.2 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009737/0.4939, allocations: 2.998 MB / 470.2 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4955, allocations: 333.2 kB / 470.5 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4976, allocations: 1.58 MB / 472.1 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.4998, allocations: 1.699 MB / 473.8 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006579/0.5005, allocations: 499 kB / 474.3 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.5013, allocations: 0.7761 MB / 475.1 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.5015, allocations: 65.22 kB / 475.1 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.5022, allocations: 446.3 kB / 475.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.5028, allocations: 0.7222 MB / 476.3 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.5031, allocations: 367.1 kB / 476.7 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.5048, allocations: 2.137 MB / 478.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5048, allocations: 0 / 478.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5048, allocations: 0 / 478.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.261e-05/0.5048, allocations: 0 / 478.8 MB, free: 30.99 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003361/0.5082, allocations: 2.053 MB / 480.8 MB, free: 29.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5082, allocations: 13.69 kB / 480.9 MB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009461/0.5092, allocations: 264.7 kB / 481.1 MB, free: 29.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5104, allocations: 0.8494 MB / 482 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.5105, allocations: 109.1 kB / 482.1 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.5107, allocations: 148.3 kB / 482.2 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007028/0.5177, allocations: 4.914 MB / 487.1 MB, free: 28.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.5178, allocations: 13.84 kB / 487.1 MB, free: 28.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.5179, allocations: 71.91 kB / 487.2 MB, free: 28.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/0.5194, allocations: 1.002 MB / 488.2 MB, free: 28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008133/0.5276, allocations: 3.812 MB / 492 MB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.5502, allocations: 16.57 MB / 0.4967 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004266/0.5545, allocations: 1.265 MB / 0.4979 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.5557, allocations: 0.7958 MB / 0.4987 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005877/0.5616, allocations: 4.265 MB / 0.5029 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5617, allocations: 41.98 kB / 0.5029 GB, free: 12.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.5617, allocations: 0 / 0.5029 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.006498/0.5682, allocations: 1.973 MB / 0.5048 GB, free: 11.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.5683, allocations: 111.8 kB / 0.5049 GB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.5708, allocations: 1.595 MB / 0.5065 GB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.5709, allocations: 36.17 kB / 0.5065 GB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.5717, allocations: 1.381 MB / 0.5079 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5719, allocations: 191.9 kB / 0.5081 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.5719, allocations: 44.91 kB / 0.5081 GB, free: 9.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5721, allocations: 460.6 kB / 0.5085 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.573, allocations: 0.5631 MB / 0.5091 GB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5744, allocations: 2.079 MB / 0.5111 GB, free: 6.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.5757, allocations: 1.021 MB / 0.5121 GB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/0.5758, allocations: 19.05 kB / 0.5121 GB, free: 5.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.00334/0.5791, allocations: 2.547 MB / 0.5146 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5792, allocations: 33.2 kB / 0.5147 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/0.5792, allocations: 53.58 kB / 0.5147 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.077e-05/0.5793, allocations: 81.25 kB / 0.5148 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.5807, allocations: 0.5472 MB / 0.5153 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.547e-05/0.5808, allocations: 111 kB / 0.5154 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5824, allocations: 340.6 kB / 0.5157 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.5826, allocations: 145.3 kB / 0.5159 GB, free: 3.785 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001187/0.5838, allocations: 0.8563 MB / 0.5167 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.584, allocations: 134.3 kB / 0.5169 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.5842, allocations: 161.4 kB / 0.517 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.5842, allocations: 8 kB / 0.517 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.5842, allocations: 3.938 kB / 0.517 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5843, allocations: 0 / 0.517 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.5882, allocations: 3.056 MB / 0.52 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5882, allocations: 8 kB / 0.52 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.5886, allocations: 107.8 kB / 0.5201 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.5886, allocations: 16 kB / 0.5201 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.5886, allocations: 24 kB / 0.5202 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/0.5887, allocations: 20.55 kB / 0.5202 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.5887, allocations: 19.94 kB / 0.5202 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.5898, allocations: 0.9932 MB / 0.5212 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.5902, allocations: 227.2 kB / 0.5214 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5903, allocations: 27.98 kB / 0.5214 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.5907, allocations: 23.98 kB / 0.5214 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.5908, allocations: 71.67 kB / 0.5215 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.5909, allocations: 28 kB / 0.5215 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.5923, allocations: 0.9785 MB / 0.5225 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5923, allocations: 0 / 0.5225 GB, free: 12.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002319/0.5946, allocations: 498 kB / 0.523 GB, free: 12.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002175/0.5948, allocations: 131 kB / 0.5231 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.5971, allocations: 1.368 MB / 0.5244 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5971, allocations: 0 / 0.5244 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.5974, allocations: 273.5 kB / 0.5247 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5985, allocations: 185.7 kB / 0.5248 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.605, allocations: 4.35 MB / 0.5291 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.6067, allocations: 1.706 MB / 0.5308 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001587/0.6082, allocations: 0.616 MB / 0.5314 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.6085, allocations: 95.42 kB / 0.5315 GB, free: 3.402 MB / 398.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6085, allocations: 0 / 0.5315 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Templates: time 0.02195/0.6304, allocations: 10.16 MB / 0.5414 GB, free: 9.32 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) Environment - environmentSimulation: