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.01145/0.01145, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.001603/0.001603, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.714/1.714, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.334/0.334, allocations: 38 MB / 307.9 MB, free: 9.926 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.001498/0.001498, allocations: 72.5 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3566, allocations: 56.47 MB / 489.5 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01201/0.3687, allocations: 12.02 MB / 0.4897 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3788, allocations: 4.378 MB / 0.494 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.3821, allocations: 74.16 kB / 0.4941 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005883/0.3881, allocations: 2.758 MB / 0.4968 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00829/0.3964, allocations: 2.044 MB / 0.4988 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.3998, allocations: 1.007 MB / 0.4998 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.4103, allocations: 5.129 MB / 0.5048 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/0.4155, allocations: 3.44 MB / 0.5081 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/0.42, allocations: 1.767 MB / 0.5098 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005412/0.4254, allocations: 2.458 MB / 0.5122 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.4271, allocations: 367.1 kB / 0.5126 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.432, allocations: 1.41 MB / 0.514 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005465/0.4375, allocations: 2.209 MB / 0.5161 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006063/0.4436, allocations: 2.497 MB / 0.5186 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.4558, allocations: 8.118 MB / 0.5265 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4559, allocations: 0 / 0.5265 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4559, allocations: 0 / 0.5265 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.4562, allocations: 0 / 0.5265 GB, free: 1.746 MB / 398.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.01569/0.4719, allocations: 5.905 MB / 0.5323 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.472, allocations: 15.89 kB / 0.5323 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.4891, allocations: 2.622 MB / 0.5348 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008964/0.4981, allocations: 3.32 MB / 0.5381 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.4984, allocations: 258.8 kB / 0.5383 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.5006, allocations: 351.9 kB / 0.5387 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/0.5281, allocations: 12.36 MB / 0.5507 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002008/0.5283, allocations: 51.58 kB / 0.5508 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000722/0.5291, allocations: 163.8 kB / 0.5509 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004159/0.5332, allocations: 2.377 MB / 0.5533 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.5567, allocations: 10.84 MB / 0.5639 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06841/0.6252, allocations: 48.7 MB / 0.6114 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/0.6413, allocations: 6.041 MB / 0.6173 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/0.6467, allocations: 3.308 MB / 0.6205 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/0.6713, allocations: 13.54 MB / 0.6338 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.737e-05/0.6714, allocations: 63.81 kB / 0.6338 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.26e-06/0.6714, allocations: 0 / 0.6338 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.3951/1.067, allocations: 36.58 MB / 0.6695 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/1.067, allocations: 209 kB / 0.6697 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/1.073, allocations: 4.404 MB / 0.674 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006684/1.074, allocations: 72.7 kB / 0.6741 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.075, allocations: 3.517 MB / 0.6775 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009857/1.076, allocations: 1.03 MB / 0.6786 GB, free: 111 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/1.078, allocations: 1.433 MB / 0.68 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/1.078, allocations: 308.7 kB / 0.6802 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.082, allocations: 3.284 MB / 0.6835 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/1.086, allocations: 7.2 MB / 0.6905 GB, free: 99.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/1.095, allocations: 11.23 MB / 0.7015 GB, free: 85.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/1.096, allocations: 40 kB / 0.7015 GB, free: 85.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02095/1.116, allocations: 13.29 MB / 0.7145 GB, free: 72.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/1.117, allocations: 67.59 kB / 0.7145 GB, free: 72.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-05/1.117, allocations: 136 kB / 0.7147 GB, free: 72.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008608/1.125, allocations: 3.402 MB / 0.718 GB, free: 68.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004968/1.13, allocations: 1.571 MB / 0.7195 GB, free: 67.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/1.152, allocations: 17.56 MB / 0.7367 GB, free: 49.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.159, allocations: 439.3 kB / 0.7371 GB, free: 49.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002413/1.162, allocations: 415.2 kB / 0.7375 GB, free: 48.87 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.007761/1.169, allocations: 2.345 MB / 0.7398 GB, free: 46.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/1.171, allocations: 421.2 kB / 0.7402 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.187, allocations: 8.006 MB / 0.748 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/1.188, allocations: 31.98 kB / 0.748 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-05/1.188, allocations: 12 kB / 0.748 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/1.188, allocations: 12.89 kB / 0.748 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.218, allocations: 15.41 MB / 0.7631 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/1.218, allocations: 0 / 0.7631 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.22, allocations: 387.4 kB / 0.7635 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008767/1.229, allocations: 3.165 MB / 0.7666 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006262/1.229, allocations: 44 kB / 0.7666 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/1.249, allocations: 15.82 MB / 0.782 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.249, allocations: 0 / 0.782 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02283/1.272, allocations: 12.16 MB / 0.7939 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.275, allocations: 0.9627 MB / 0.7949 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/1.276, allocations: 40.94 kB / 0.7949 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.28, allocations: 199.5 kB / 0.7951 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00095/1.281, allocations: 150.2 kB / 0.7952 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/1.281, allocations: 64 kB / 0.7953 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007377/1.288, allocations: 2.753 MB / 0.798 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.288, allocations: 0 / 0.798 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008612/1.297, allocations: 1.363 MB / 0.7993 GB, free: 1.258 MB / 0.5137 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.000818/1.298, allocations: 182.5 kB / 0.7995 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.314, allocations: 8.227 MB / 0.8075 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/1.314, allocations: 1.125 kB / 0.8075 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/1.321, allocations: 3.327 MB / 0.8108 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006394/1.328, allocations: 0.4984 MB / 0.8113 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.357, allocations: 12.05 MB / 0.823 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006949/1.364, allocations: 3.678 MB / 0.8266 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006526/1.37, allocations: 2.18 MB / 0.8287 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.372, allocations: 287.4 kB / 0.829 GB, free: 2.746 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/1.372, allocations: 4 kB / 0.829 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Templates: time 0.4153/1.787, allocations: 57.14 MB / 0.8848 GB, free: 161.1 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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)