Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001107/0.001107, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001356/0.001356, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.439/1.439, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3271/0.3271, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.000525/0.0005251, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2559/0.3661, allocations: 25.78 MB / 460.3 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.3814, allocations: 5.495 MB / 465.8 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005095/0.3866, allocations: 104 kB / 465.9 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.3873, allocations: 197.7 kB / 466.1 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3885, allocations: 0.5104 MB / 466.6 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.3894, allocations: 389.2 kB / 467 MB, free: 32.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3909, allocations: 1.959 MB / 469 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.3928, allocations: 1.868 MB / 470.9 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.3933, allocations: 476.7 kB / 471.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009124/0.3942, allocations: 0.7958 MB / 472.1 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3943, allocations: 64.66 kB / 472.2 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.3952, allocations: 0.5797 MB / 472.8 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.3957, allocations: 0.7419 MB / 473.5 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.3962, allocations: 0.8715 MB / 474.4 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.3981, allocations: 2.645 MB / 477 MB, free: 30.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3981, allocations: 3.094 kB / 477 MB, free: 30.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3981, allocations: 0 / 477 MB, free: 30.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.3982, allocations: 0 / 477 MB, free: 30.39 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.003517/0.4017, allocations: 2.032 MB / 479.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4017, allocations: 9.625 kB / 479.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.4027, allocations: 263.6 kB / 479.3 MB, free: 29.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4038, allocations: 0.8778 MB / 480.2 MB, free: 28.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.4039, allocations: 108.4 kB / 480.3 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.4042, allocations: 151.5 kB / 480.5 MB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006627/0.4108, allocations: 4.922 MB / 485.4 MB, free: 26.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.4108, allocations: 18.17 kB / 485.4 MB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.411, allocations: 62.72 kB / 485.5 MB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001395/0.4124, allocations: 1 MB / 486.5 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006463/0.4189, allocations: 3.829 MB / 490.3 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0218/0.4407, allocations: 16.59 MB / 0.495 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.4453, allocations: 1.265 MB / 0.4962 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.4465, allocations: 0.8048 MB / 0.497 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006229/0.4527, allocations: 4.247 MB / 0.5012 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4528, allocations: 46.14 kB / 0.5012 GB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.116e-06/0.4528, allocations: 0 / 0.5012 GB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.006935/0.4597, allocations: 1.977 MB / 0.5031 GB, free: 10.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.4598, allocations: 111.2 kB / 0.5032 GB, free: 10.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.4621, allocations: 1.603 MB / 0.5048 GB, free: 9.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.4622, allocations: 32.52 kB / 0.5048 GB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.4629, allocations: 1.394 MB / 0.5062 GB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.4631, allocations: 189.2 kB / 0.5064 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.4633, allocations: 206.9 kB / 0.5066 GB, free: 8.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.4634, allocations: 362 kB / 0.5069 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.4642, allocations: 0.5771 MB / 0.5075 GB, free: 7.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.4655, allocations: 2.09 MB / 0.5095 GB, free: 5.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.4678, allocations: 2.886 MB / 0.5123 GB, free: 2.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/0.4678, allocations: 15.12 kB / 0.5124 GB, free: 2.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003481/0.4713, allocations: 2.582 MB / 0.5149 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.4713, allocations: 31.14 kB / 0.5149 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.622e-05/0.4714, allocations: 56.94 kB / 0.515 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-05/0.4715, allocations: 71.72 kB / 0.515 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4728, allocations: 0.5427 MB / 0.5156 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.838e-05/0.4729, allocations: 106.7 kB / 0.5157 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4746, allocations: 342.4 kB / 0.516 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.4748, allocations: 139.1 kB / 0.5161 GB, free: 0.7344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001262/0.476, allocations: 0.8554 MB / 0.517 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.4763, allocations: 135 kB / 0.5171 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4765, allocations: 164 kB / 0.5172 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4765, allocations: 2.344 kB / 0.5172 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4765, allocations: 6.312 kB / 0.5173 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4766, allocations: 0 / 0.5173 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.4807, allocations: 3.058 MB / 0.5202 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.4808, allocations: 12 kB / 0.5202 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4811, allocations: 103.8 kB / 0.5203 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.4811, allocations: 16 kB / 0.5204 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4812, allocations: 16 kB / 0.5204 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.4812, allocations: 19.94 kB / 0.5204 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/0.4812, allocations: 23.86 kB / 0.5204 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.4821, allocations: 1.005 MB / 0.5214 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.4825, allocations: 235.2 kB / 0.5216 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4826, allocations: 23.98 kB / 0.5216 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.4831, allocations: 23.94 kB / 0.5217 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.4832, allocations: 71.69 kB / 0.5217 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.4832, allocations: 28 kB / 0.5218 GB, free: 11.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.4844, allocations: 0.9902 MB / 0.5227 GB, free: 10.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4845, allocations: 0 / 0.5227 GB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001951/0.4864, allocations: 494 kB / 0.5232 GB, free: 9.836 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.4866, allocations: 136.4 kB / 0.5233 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.4885, allocations: 1.375 MB / 0.5247 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.4885, allocations: 4 kB / 0.5247 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4888, allocations: 272.4 kB / 0.5249 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.4915, allocations: 185.8 kB / 0.5251 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.4969, allocations: 4.55 MB / 0.5296 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.4983, allocations: 1.702 MB / 0.5312 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001507/0.4998, allocations: 0.614 MB / 0.5318 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.5, allocations: 99.44 kB / 0.5319 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5, allocations: 3.938 kB / 0.5319 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Templates: time 0.02023/0.5203, allocations: 10.39 MB / 0.5421 GB, free: 6.391 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) Environment - environmentSimulation: