Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009952/0.0009955, allocations: 86.72 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.001273/0.001274, 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.922/1.922, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.4376/0.4376, allocations: 39.99 MB / 310.4 MB, free: 10.01 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.0005894/0.0005897, allocations: 20 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.153, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3423/0.4953, allocations: 39.34 MB / 476.1 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.5192, allocations: 9.122 MB / 485.3 MB, free: 24.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/0.5301, allocations: 184 kB / 485.4 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008426/0.5385, allocations: 2.006 MB / 487.5 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02228/0.5609, allocations: 6.164 MB / 493.6 MB, free: 21.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.5658, allocations: 0.8587 MB / 494.5 MB, free: 21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0333/0.5991, allocations: 19.83 MB / 0.5023 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/0.6081, allocations: 4.129 MB / 0.5063 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.6128, allocations: 1.471 MB / 0.5077 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005277/0.6181, allocations: 2.357 MB / 0.51 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.6198, allocations: 168.6 kB / 0.5102 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.6236, allocations: 1.083 MB / 0.5112 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.6273, allocations: 1.969 MB / 0.5132 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.6299, allocations: 0.9284 MB / 0.5141 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.6376, allocations: 6.153 MB / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.6377, allocations: 0 / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6377, allocations: 0 / 0.5201 GB, free: 2.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003425/0.638, allocations: 0 / 0.5201 GB, free: 2.785 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.01197/0.65, allocations: 4.848 MB / 0.5248 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6501, allocations: 8.031 kB / 0.5248 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.6649, allocations: 2.665 MB / 0.5274 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009203/0.6741, allocations: 3.195 MB / 0.5305 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.6746, allocations: 258.4 kB / 0.5308 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.6767, allocations: 359.5 kB / 0.5311 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/0.7077, allocations: 12.36 MB / 0.5432 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003139/0.708, allocations: 47.59 kB / 0.5432 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00185/0.7099, allocations: 163.8 kB / 0.5434 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00445/0.7143, allocations: 2.381 MB / 0.5457 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/0.7404, allocations: 10.82 MB / 0.5563 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07891/0.8193, allocations: 48.82 MB / 0.604 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/0.8352, allocations: 6.041 MB / 0.6099 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004968/0.8402, allocations: 3.299 MB / 0.6131 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02504/0.8652, allocations: 13.53 MB / 0.6263 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.494e-05/0.8653, allocations: 55.88 kB / 0.6264 GB, free: 3.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 6.452e-06/0.8654, allocations: 4 kB / 0.6264 GB, free: 3.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4298/1.295, allocations: 36.4 MB / 0.6619 GB, free: 136.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.295, allocations: 211.1 kB / 0.6621 GB, free: 136.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.306, allocations: 4.37 MB / 0.6664 GB, free: 134.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009006/1.307, allocations: 62.52 kB / 0.6664 GB, free: 134.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002916/1.31, allocations: 3.375 MB / 0.6697 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/1.312, allocations: 0.9874 MB / 0.6707 GB, free: 131.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009595/1.313, allocations: 140.4 kB / 0.6708 GB, free: 131 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005086/1.314, allocations: 0.6053 MB / 0.6714 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007235/1.321, allocations: 3.256 MB / 0.6746 GB, free: 129.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009026/1.33, allocations: 7.182 MB / 0.6816 GB, free: 123 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007853/1.338, allocations: 4.706 MB / 0.6862 GB, free: 121.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/1.338, allocations: 38.84 kB / 0.6862 GB, free: 121.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0283/1.366, allocations: 13.22 MB / 0.6991 GB, free: 114 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000284/1.367, allocations: 66.5 kB / 0.6992 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/1.367, allocations: 136 kB / 0.6993 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009501/1.377, allocations: 3.434 MB / 0.7027 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005736/1.382, allocations: 1.575 MB / 0.7042 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/1.405, allocations: 16.35 MB / 0.7202 GB, free: 92.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007585/1.412, allocations: 439.4 kB / 0.7206 GB, free: 91.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002265/1.415, allocations: 412.6 kB / 0.721 GB, free: 91.48 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.007864/1.423, allocations: 2.352 MB / 0.7233 GB, free: 89.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.425, allocations: 402.8 kB / 0.7237 GB, free: 88.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.441, allocations: 7.997 MB / 0.7315 GB, free: 80.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/1.441, allocations: 28 kB / 0.7315 GB, free: 80.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.441, allocations: 12 kB / 0.7315 GB, free: 80.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.37e-05/1.441, allocations: 11.95 kB / 0.7316 GB, free: 80.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/1.473, allocations: 15.53 MB / 0.7467 GB, free: 65.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.473, allocations: 0 / 0.7467 GB, free: 65.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.475, allocations: 387.4 kB / 0.7471 GB, free: 64.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008241/1.483, allocations: 3.173 MB / 0.7502 GB, free: 61.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008525/1.484, allocations: 51.94 kB / 0.7502 GB, free: 61.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/1.504, allocations: 14.66 MB / 0.7646 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.504, allocations: 0 / 0.7646 GB, free: 46.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.528, allocations: 12.11 MB / 0.7764 GB, free: 34.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00332/1.531, allocations: 0.9447 MB / 0.7773 GB, free: 33.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001837/1.533, allocations: 44 kB / 0.7773 GB, free: 33.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.537, allocations: 184.3 kB / 0.7775 GB, free: 33.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009894/1.538, allocations: 158.2 kB / 0.7777 GB, free: 33.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004617/1.539, allocations: 71.98 kB / 0.7777 GB, free: 33.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00626/1.545, allocations: 2.722 MB / 0.7804 GB, free: 30.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.545, allocations: 0 / 0.7804 GB, free: 30.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00927/1.554, allocations: 1.372 MB / 0.7817 GB, free: 29.04 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.0009637/1.555, allocations: 182.1 kB / 0.7819 GB, free: 28.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01413/1.569, allocations: 8.129 MB / 0.7898 GB, free: 20.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.569, allocations: 8 kB / 0.7899 GB, free: 20.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005538/1.575, allocations: 3.298 MB / 0.7931 GB, free: 17.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/1.581, allocations: 497.7 kB / 0.7936 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/1.609, allocations: 13.89 MB / 0.8071 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2409/1.85, allocations: 3.674 MB / 0.8107 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005283/1.856, allocations: 2.177 MB / 0.8128 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/1.857, allocations: 290.5 kB / 0.8131 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/1.857, allocations: 0 / 0.8131 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.09857/1.955, allocations: 55.92 MB / 0.8677 GB, free: 129 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: