Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.00112/0.001121, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3134/0.3134, allocations: 38 MB / 307.9 MB, free: 10.1 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.001683/0.001683, allocations: 67.91 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3945, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01968/0.4142, allocations: 15.74 MB / 0.4934 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.4288, allocations: 4.503 MB / 0.4978 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006291/0.4351, allocations: 83.03 kB / 0.4978 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006148/0.4414, allocations: 2.247 MB / 0.5 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008722/0.4502, allocations: 2.074 MB / 0.5021 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.453, allocations: 0.6236 MB / 0.5027 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.4639, allocations: 4.453 MB / 0.507 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006588/0.4706, allocations: 3.219 MB / 0.5102 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.4759, allocations: 1.669 MB / 0.5118 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00547/0.4814, allocations: 2.288 MB / 0.514 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.4829, allocations: 349.2 kB / 0.5144 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.4869, allocations: 1.037 MB / 0.5154 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003466/0.4903, allocations: 2.062 MB / 0.5174 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004054/0.4944, allocations: 2.488 MB / 0.5198 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.5056, allocations: 8.043 MB / 0.5277 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.5057, allocations: 4 kB / 0.5277 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5057, allocations: 0 / 0.5277 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.506, allocations: 4 kB / 0.5277 GB, free: 0.5195 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01304/0.519, allocations: 5.269 MB / 0.5328 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5191, allocations: 11.89 kB / 0.5328 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.5302, allocations: 3.191 MB / 0.536 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/0.5379, allocations: 2.487 MB / 0.5384 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.5383, allocations: 258.9 kB / 0.5386 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.54, allocations: 351.6 kB / 0.539 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.564, allocations: 12.65 MB / 0.5513 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.5642, allocations: 39.64 kB / 0.5514 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/0.5647, allocations: 155.8 kB / 0.5515 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005562/0.5703, allocations: 3.032 MB / 0.5545 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.5953, allocations: 11.33 MB / 0.5655 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0707/0.666, allocations: 42.09 MB / 0.6066 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009845/0.6759, allocations: 4.711 MB / 0.6112 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.6797, allocations: 2.436 MB / 0.6136 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.6811, allocations: 1.319 MB / 0.6149 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.6811, allocations: 56.5 kB / 0.615 GB, free: 4.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.508e-06/0.6811, allocations: 0 / 0.615 GB, free: 4.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.04837/0.7295, allocations: 19.52 MB / 0.634 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.7296, allocations: 103.1 kB / 0.6341 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4147/1.144, allocations: 3.256 MB / 0.6373 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007255/1.145, allocations: 57.23 kB / 0.6374 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003279/1.148, allocations: 3.283 MB / 0.6406 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.15, allocations: 0.9775 MB / 0.6415 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00233/1.152, allocations: 1.219 MB / 0.6427 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/1.152, allocations: 302.8 kB / 0.643 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005024/1.158, allocations: 2.494 MB / 0.6454 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007861/1.165, allocations: 5.89 MB / 0.6512 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/1.178, allocations: 9.194 MB / 0.6602 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/1.179, allocations: 36.72 kB / 0.6602 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02324/1.202, allocations: 9.173 MB / 0.6692 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.202, allocations: 56.41 kB / 0.6692 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004179/1.203, allocations: 118.3 kB / 0.6693 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/1.207, allocations: 1.056 MB / 0.6704 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005895/1.213, allocations: 1.395 MB / 0.6717 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/1.222, allocations: 5.553 MB / 0.6771 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00565/1.227, allocations: 325.5 kB / 0.6774 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.228, allocations: 355.6 kB / 0.6778 GB, free: 102.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (751): * Single equations (assignments): 744 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00629/1.235, allocations: 2.485 MB / 0.6802 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.236, allocations: 319.7 kB / 0.6805 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.246, allocations: 5.382 MB / 0.6858 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/1.247, allocations: 49.25 kB / 0.6858 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.247, allocations: 3.906 kB / 0.6858 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/1.247, allocations: 9.984 kB / 0.6858 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02583/1.272, allocations: 13.31 MB / 0.6988 GB, free: 87.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.273, allocations: 13 kB / 0.6989 GB, free: 87.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.274, allocations: 423.4 kB / 0.6993 GB, free: 87.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/1.277, allocations: 0.9018 MB / 0.7001 GB, free: 86.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/1.277, allocations: 52 kB / 0.7002 GB, free: 86.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/1.283, allocations: 4.829 MB / 0.7049 GB, free: 81.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/1.284, allocations: 15.94 kB / 0.7049 GB, free: 81.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.297, allocations: 8.032 MB / 0.7128 GB, free: 73.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/1.3, allocations: 0.7333 MB / 0.7135 GB, free: 72.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/1.302, allocations: 59.67 kB / 0.7135 GB, free: 72.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.304, allocations: 151.7 kB / 0.7137 GB, free: 72.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/1.305, allocations: 173.5 kB / 0.7138 GB, free: 71.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.305, allocations: 72 kB / 0.7139 GB, free: 71.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004849/1.31, allocations: 2.018 MB / 0.7159 GB, free: 69.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.31, allocations: 0 / 0.7159 GB, free: 69.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007992/1.318, allocations: 1.115 MB / 0.717 GB, free: 68.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000945/1.319, allocations: 201 kB / 0.7172 GB, free: 68.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.33, allocations: 6.118 MB / 0.7231 GB, free: 62.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.33, allocations: 0 / 0.7231 GB, free: 62.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/1.333, allocations: 2.265 MB / 0.7253 GB, free: 60.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.337, allocations: 449.6 kB / 0.7258 GB, free: 59.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.358, allocations: 11.61 MB / 0.7371 GB, free: 48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/1.363, allocations: 3.826 MB / 0.7408 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004554/1.367, allocations: 2.185 MB / 0.743 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/1.368, allocations: 239.4 kB / 0.7432 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.074e-06/1.368, allocations: 0 / 0.7432 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.06423/1.432, allocations: 34.73 MB / 0.7771 GB, free: 7.109 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)