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.001464/0.001464, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001795/0.001795, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.773/1.773, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3441/0.3441, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.001438/0.001438, allocations: 70.62 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 56.47 MB / 431.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3092/0.4504, allocations: 43.46 MB / 474.7 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.4741, allocations: 9.552 MB / 484.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01282/0.487, allocations: 184.2 kB / 484.4 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005539/0.4926, allocations: 2.644 MB / 487 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007915/0.5006, allocations: 1.903 MB / 488.9 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.5036, allocations: 0.951 MB / 489.9 MB, free: 22.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008341/0.512, allocations: 5.251 MB / 495.1 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005893/0.5179, allocations: 3.628 MB / 498.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.5232, allocations: 1.799 MB / 0.4888 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.5292, allocations: 2.725 MB / 0.4915 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.5312, allocations: 366.9 kB / 0.4918 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004874/0.5361, allocations: 1.426 MB / 0.4932 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.5406, allocations: 2.239 MB / 0.4954 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009466/0.5501, allocations: 2.53 MB / 0.4979 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.5659, allocations: 7.869 MB / 0.5056 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.5659, allocations: 3.984 kB / 0.5056 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5659, allocations: 0 / 0.5056 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003885/0.5663, allocations: 0 / 0.5056 GB, free: 11.3 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.0218/0.5881, allocations: 5.761 MB / 0.5112 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.5882, allocations: 13.77 kB / 0.5112 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/0.6062, allocations: 2.601 MB / 0.5138 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008788/0.615, allocations: 3.255 MB / 0.5169 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.6153, allocations: 259.9 kB / 0.5172 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.6172, allocations: 348.6 kB / 0.5175 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02708/0.6443, allocations: 12.36 MB / 0.5296 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/0.6447, allocations: 55.44 kB / 0.5296 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001196/0.6459, allocations: 163.8 kB / 0.5298 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/0.6503, allocations: 2.377 MB / 0.5321 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.6756, allocations: 10.85 MB / 0.5427 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07448/0.7501, allocations: 48.81 MB / 0.5904 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.7656, allocations: 6.035 MB / 0.5963 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004432/0.7701, allocations: 3.299 MB / 0.5995 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02212/0.7922, allocations: 13.53 MB / 0.6127 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.7923, allocations: 51.88 kB / 0.6128 GB, free: 496 kB / 478.1 MB Notification: Performance of pre-optimization done (n=204): time 5.53e-06/0.7923, allocations: 0 / 0.6128 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.3731/1.165, allocations: 36.34 MB / 0.6483 GB, free: 145.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.166, allocations: 208 kB / 0.6484 GB, free: 145.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/1.174, allocations: 4.394 MB / 0.6527 GB, free: 143.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.175, allocations: 66.58 kB / 0.6528 GB, free: 143.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.177, allocations: 3.374 MB / 0.6561 GB, free: 141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/1.179, allocations: 0.9869 MB / 0.6571 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002577/1.182, allocations: 1.423 MB / 0.6585 GB, free: 139.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/1.182, allocations: 301.1 kB / 0.6587 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005828/1.187, allocations: 3.289 MB / 0.662 GB, free: 138.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/1.198, allocations: 7.21 MB / 0.669 GB, free: 131.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/1.214, allocations: 11.23 MB / 0.68 GB, free: 123.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002907/1.215, allocations: 43.59 kB / 0.68 GB, free: 123.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03516/1.25, allocations: 13.27 MB / 0.693 GB, free: 118.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/1.25, allocations: 64.84 kB / 0.693 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003696/1.251, allocations: 134.1 kB / 0.6932 GB, free: 118.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.261, allocations: 3.42 MB / 0.6965 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/1.267, allocations: 1.576 MB / 0.698 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.288, allocations: 17.54 MB / 0.7152 GB, free: 99.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/1.295, allocations: 446.5 kB / 0.7156 GB, free: 99.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.297, allocations: 412 kB / 0.716 GB, free: 98.73 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.005699/1.303, allocations: 2.347 MB / 0.7183 GB, free: 96.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.304, allocations: 398.8 kB / 0.7187 GB, free: 95.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.318, allocations: 8.009 MB / 0.7265 GB, free: 87.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-05/1.318, allocations: 28 kB / 0.7265 GB, free: 87.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/1.318, allocations: 12 kB / 0.7265 GB, free: 87.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/1.318, allocations: 15.89 kB / 0.7265 GB, free: 87.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/1.343, allocations: 15.55 MB / 0.7417 GB, free: 72.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/1.343, allocations: 0 / 0.7417 GB, free: 72.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.345, allocations: 383.4 kB / 0.7421 GB, free: 71.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008362/1.353, allocations: 3.173 MB / 0.7452 GB, free: 68.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006322/1.354, allocations: 44 kB / 0.7452 GB, free: 68.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/1.372, allocations: 15.77 MB / 0.7606 GB, free: 52.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.372, allocations: 0 / 0.7606 GB, free: 52.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.391, allocations: 12.13 MB / 0.7725 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/1.394, allocations: 0.937 MB / 0.7734 GB, free: 39.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.396, allocations: 47.94 kB / 0.7734 GB, free: 39.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.398, allocations: 191.7 kB / 0.7736 GB, free: 39.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006419/1.399, allocations: 158.2 kB / 0.7738 GB, free: 39.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.399, allocations: 63.91 kB / 0.7738 GB, free: 39.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004389/1.404, allocations: 2.753 MB / 0.7765 GB, free: 36.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.404, allocations: 0.6562 kB / 0.7765 GB, free: 36.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008097/1.412, allocations: 1.366 MB / 0.7779 GB, free: 35.13 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.00068/1.412, allocations: 185.6 kB / 0.778 GB, free: 34.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01913/1.432, allocations: 10.94 MB / 0.7887 GB, free: 24.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.432, allocations: 0 / 0.7887 GB, free: 24.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0046/1.436, allocations: 3.31 MB / 0.7919 GB, free: 20.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/1.44, allocations: 0.4956 MB / 0.7924 GB, free: 20.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.46, allocations: 14.32 MB / 0.8064 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2484/1.708, allocations: 3.677 MB / 0.81 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006057/1.715, allocations: 2.183 MB / 0.8121 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.716, allocations: 283 kB / 0.8124 GB, free: 138.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/1.716, allocations: 0 / 0.8124 GB, free: 138.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1166/1.832, allocations: 60.51 MB / 0.8715 GB, free: 114.3 MB / 494.1 MB 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)