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.008358/0.008358, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001714/0.001714, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3163/0.3163, allocations: 38 MB / 307.9 MB, free: 10.05 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.001435/0.001435, allocations: 71.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4127, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01879/0.4315, allocations: 15.74 MB / 0.4934 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.4457, allocations: 4.492 MB / 0.4978 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005256/0.451, allocations: 83.25 kB / 0.4978 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005718/0.4568, allocations: 2.255 MB / 0.5 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008617/0.4655, allocations: 2.134 MB / 0.5021 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.4674, allocations: 0.6237 MB / 0.5027 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00781/0.4752, allocations: 4.446 MB / 0.5071 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006445/0.4817, allocations: 3.228 MB / 0.5102 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.4866, allocations: 1.665 MB / 0.5119 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00516/0.4918, allocations: 2.289 MB / 0.5141 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.4933, allocations: 349 kB / 0.5144 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.497, allocations: 1.041 MB / 0.5154 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003579/0.5006, allocations: 2.058 MB / 0.5174 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006143/0.5068, allocations: 2.49 MB / 0.5199 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.5204, allocations: 8.051 MB / 0.5277 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.5205, allocations: 4 kB / 0.5277 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5205, allocations: 0 / 0.5277 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004158/0.5209, allocations: 0 / 0.5277 GB, free: 452 kB / 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.01964/0.5406, allocations: 5.257 MB / 0.5329 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/0.5407, allocations: 19.83 kB / 0.5329 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.553, allocations: 3.191 MB / 0.536 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007364/0.5604, allocations: 2.491 MB / 0.5384 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.5608, allocations: 258.9 kB / 0.5387 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.5627, allocations: 347.6 kB / 0.539 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03049/0.5932, allocations: 12.65 MB / 0.5514 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/0.5936, allocations: 31.66 kB / 0.5514 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/0.5958, allocations: 163.8 kB / 0.5516 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006146/0.6019, allocations: 3.032 MB / 0.5545 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/0.6304, allocations: 11.33 MB / 0.5656 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08152/0.7119, allocations: 42.1 MB / 0.6067 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.723, allocations: 4.704 MB / 0.6113 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004096/0.7271, allocations: 2.436 MB / 0.6137 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.7288, allocations: 1.323 MB / 0.615 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.29e-05/0.7289, allocations: 52.56 kB / 0.615 GB, free: 4.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.703e-06/0.7289, allocations: 0 / 0.615 GB, free: 4.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.05774/0.7866, allocations: 19.53 MB / 0.6341 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.7868, allocations: 99.11 kB / 0.6342 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3798/1.167, allocations: 3.257 MB / 0.6374 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007314/1.167, allocations: 61.11 kB / 0.6374 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002884/1.17, allocations: 3.277 MB / 0.6406 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.172, allocations: 0.98 MB / 0.6416 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002413/1.174, allocations: 1.216 MB / 0.6428 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/1.174, allocations: 304 kB / 0.6431 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004674/1.179, allocations: 2.498 MB / 0.6455 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/1.185, allocations: 5.89 MB / 0.6512 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.197, allocations: 9.192 MB / 0.6602 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.197, allocations: 33.34 kB / 0.6603 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01817/1.215, allocations: 9.174 MB / 0.6692 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.215, allocations: 60.53 kB / 0.6693 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002178/1.216, allocations: 117.3 kB / 0.6694 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/1.219, allocations: 1.055 MB / 0.6704 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/1.223, allocations: 1.394 MB / 0.6718 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/1.231, allocations: 5.553 MB / 0.6772 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/1.236, allocations: 326.9 kB / 0.6775 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007796/1.237, allocations: 359.3 kB / 0.6779 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.004705/1.242, allocations: 2.482 MB / 0.6803 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/1.243, allocations: 318.5 kB / 0.6806 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007813/1.25, allocations: 5.382 MB / 0.6858 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/1.25, allocations: 44.47 kB / 0.6859 GB, free: 99.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.251, allocations: 3.906 kB / 0.6859 GB, free: 99.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.251, allocations: 13.64 kB / 0.6859 GB, free: 99.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/1.269, allocations: 13.32 MB / 0.6989 GB, free: 87.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.269, allocations: 12.97 kB / 0.6989 GB, free: 87.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.271, allocations: 427.3 kB / 0.6993 GB, free: 87.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/1.273, allocations: 0.8901 MB / 0.7002 GB, free: 86.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/1.273, allocations: 55.98 kB / 0.7002 GB, free: 86.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/1.278, allocations: 4.838 MB / 0.705 GB, free: 81.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.278, allocations: 19.88 kB / 0.705 GB, free: 81.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.288, allocations: 8.026 MB / 0.7128 GB, free: 73.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.29, allocations: 0.7351 MB / 0.7135 GB, free: 72.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/1.29, allocations: 59.27 kB / 0.7136 GB, free: 72.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.292, allocations: 151.7 kB / 0.7137 GB, free: 72.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.292, allocations: 161.6 kB / 0.7139 GB, free: 71.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.292, allocations: 83.98 kB / 0.714 GB, free: 71.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002857/1.295, allocations: 2.014 MB / 0.7159 GB, free: 69.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.295, allocations: 0 / 0.7159 GB, free: 69.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005243/1.3, allocations: 1.111 MB / 0.717 GB, free: 68.71 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.0004463/1.301, allocations: 200.7 kB / 0.7172 GB, free: 68.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007766/1.309, allocations: 6.122 MB / 0.7232 GB, free: 62.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.309, allocations: 0 / 0.7232 GB, free: 62.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/1.311, allocations: 2.261 MB / 0.7254 GB, free: 60.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.313, allocations: 451.9 kB / 0.7258 GB, free: 59.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.331, allocations: 11.6 MB / 0.7372 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/1.335, allocations: 3.834 MB / 0.7409 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004213/1.339, allocations: 2.177 MB / 0.743 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/1.34, allocations: 243.4 kB / 0.7433 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of SimCode: time 1.392e-06/1.34, allocations: 0 / 0.7433 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.06418/1.404, allocations: 34.93 MB / 0.7774 GB, free: 6.785 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)