Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008139/0.0008139, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007894/0.0007895, allocations: 172.7 kB / 15.95 MB, free: 208 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.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3047/0.3047, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005501/0.0005502, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 57.53 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2354/0.3512, allocations: 39.33 MB / 473.3 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.3686, allocations: 9.117 MB / 482.4 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006804/0.3754, allocations: 188.4 kB / 482.6 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.3806, allocations: 2.014 MB / 484.6 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01374/0.3943, allocations: 6.168 MB / 490.8 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.3972, allocations: 0.8482 MB / 491.6 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02671/0.4239, allocations: 19.83 MB / 0.4995 GB, free: 18.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007005/0.431, allocations: 4.12 MB / 0.5035 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.4345, allocations: 1.48 MB / 0.5049 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.4381, allocations: 2.353 MB / 0.5072 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.4389, allocations: 169.1 kB / 0.5074 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.4412, allocations: 1.088 MB / 0.5085 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4429, allocations: 1.974 MB / 0.5104 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.4442, allocations: 0.9251 MB / 0.5113 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.4493, allocations: 6.151 MB / 0.5173 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4493, allocations: 3.938 kB / 0.5173 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4493, allocations: 0 / 0.5173 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.4495, allocations: 0 / 0.5173 GB, free: 7.102 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.00793/0.4574, allocations: 4.85 MB / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4575, allocations: 12.03 kB / 0.5221 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.4703, allocations: 2.665 MB / 0.5247 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/0.4767, allocations: 3.192 MB / 0.5278 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4769, allocations: 254.4 kB / 0.528 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007683/0.4777, allocations: 347.6 kB / 0.5284 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.4973, allocations: 12.36 MB / 0.5404 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4974, allocations: 55.53 kB / 0.5405 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.4978, allocations: 167.8 kB / 0.5406 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.5012, allocations: 2.377 MB / 0.543 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.5212, allocations: 10.82 MB / 0.5535 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05946/0.5807, allocations: 48.82 MB / 0.6012 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.5955, allocations: 6.04 MB / 0.6071 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/0.6002, allocations: 3.287 MB / 0.6103 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/0.6203, allocations: 13.53 MB / 0.6235 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.6204, allocations: 55.88 kB / 0.6236 GB, free: 7.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 4.819e-06/0.6204, allocations: 0 / 0.6236 GB, free: 7.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.3134/0.9338, allocations: 36.4 MB / 0.6591 GB, free: 138.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.9339, allocations: 205.9 kB / 0.6593 GB, free: 138.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009629/0.9436, allocations: 4.368 MB / 0.6636 GB, free: 137.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006734/0.9443, allocations: 67.7 kB / 0.6637 GB, free: 137.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002673/0.947, allocations: 3.382 MB / 0.667 GB, free: 134.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.9485, allocations: 0.986 MB / 0.6679 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009092/0.9494, allocations: 139.7 kB / 0.6681 GB, free: 133.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004009/0.9498, allocations: 0.6004 MB / 0.6686 GB, free: 133.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004865/0.9547, allocations: 3.255 MB / 0.6718 GB, free: 132.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009621/0.9643, allocations: 7.178 MB / 0.6788 GB, free: 125.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/0.9734, allocations: 4.711 MB / 0.6834 GB, free: 123.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002801/0.9737, allocations: 39.72 kB / 0.6835 GB, free: 123.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02802/1.002, allocations: 13.21 MB / 0.6964 GB, free: 119.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/1.002, allocations: 72.42 kB / 0.6964 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.002, allocations: 138.2 kB / 0.6966 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008763/1.011, allocations: 3.433 MB / 0.6999 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00534/1.016, allocations: 1.571 MB / 0.7015 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/1.038, allocations: 16.37 MB / 0.7174 GB, free: 98.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00721/1.045, allocations: 435.4 kB / 0.7179 GB, free: 98.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.046, allocations: 412 kB / 0.7182 GB, free: 98.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005502/1.052, allocations: 2.349 MB / 0.7205 GB, free: 95.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.053, allocations: 398.8 kB / 0.7209 GB, free: 95.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.067, allocations: 7.994 MB / 0.7287 GB, free: 87.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.127e-05/1.068, allocations: 31.19 kB / 0.7288 GB, free: 87.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/1.068, allocations: 15.98 kB / 0.7288 GB, free: 87.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/1.068, allocations: 7.969 kB / 0.7288 GB, free: 87.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/1.095, allocations: 15.53 MB / 0.7439 GB, free: 71.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/1.095, allocations: 4 kB / 0.744 GB, free: 71.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.097, allocations: 387.4 kB / 0.7443 GB, free: 71.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008087/1.105, allocations: 3.165 MB / 0.7474 GB, free: 68.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005281/1.105, allocations: 47.98 kB / 0.7475 GB, free: 68.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.124, allocations: 14.66 MB / 0.7618 GB, free: 53.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.124, allocations: 4 kB / 0.7618 GB, free: 53.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/1.141, allocations: 12.1 MB / 0.7736 GB, free: 41.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/1.144, allocations: 0.9525 MB / 0.7745 GB, free: 40.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.145, allocations: 36 kB / 0.7746 GB, free: 40.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.148, allocations: 195.7 kB / 0.7748 GB, free: 40 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/1.148, allocations: 154.8 kB / 0.7749 GB, free: 39.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.148, allocations: 70.25 kB / 0.775 GB, free: 39.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004721/1.153, allocations: 2.722 MB / 0.7776 GB, free: 37.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.153, allocations: 0 / 0.7776 GB, free: 37.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008855/1.162, allocations: 1.368 MB / 0.779 GB, free: 35.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,60.0%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008677/1.163, allocations: 182.4 kB / 0.7791 GB, free: 35.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.175, allocations: 8.139 MB / 0.7871 GB, free: 27.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.175, allocations: 4.312 kB / 0.7871 GB, free: 27.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.18, allocations: 3.3 MB / 0.7903 GB, free: 24.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.184, allocations: 493 kB / 0.7908 GB, free: 23.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.205, allocations: 13.89 MB / 0.8043 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004326/1.209, allocations: 3.676 MB / 0.8079 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005087/1.214, allocations: 2.18 MB / 0.8101 GB, free: 3.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.215, allocations: 279.4 kB / 0.8103 GB, free: 3.52 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/1.215, allocations: 0 / 0.8103 GB, free: 3.52 MB / 494.1 MB Notification: Performance of Templates: time 0.3259/1.541, allocations: 55.92 MB / 0.8649 GB, free: 117.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: