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.0008364/0.0008364, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001159/0.001159, allocations: 172.7 kB / 15.95 MB, free: 208 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.319/1.319, allocations: 205.4 MB / 222.1 MB, free: 5.387 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.2981/0.2981, allocations: 38.04 MB / 308.4 MB, free: 10.55 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.000664/0.0006641, allocations: 19.98 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2347/0.3454, allocations: 42.63 MB / 476.6 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3614, allocations: 9.223 MB / 485.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006163/0.3676, allocations: 192.1 kB / 486 MB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.3725, allocations: 2.078 MB / 488.1 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.386, allocations: 6.201 MB / 494.3 MB, free: 21.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.3882, allocations: 0.5149 MB / 494.8 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00512/0.3933, allocations: 4.87 MB / 499.7 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007134/0.4005, allocations: 3.589 MB / 0.4915 GB, free: 18.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.4035, allocations: 1.356 MB / 0.4928 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.4073, allocations: 2.137 MB / 0.4949 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008522/0.4082, allocations: 175.6 kB / 0.495 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4104, allocations: 0.7849 MB / 0.4958 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.4126, allocations: 1.831 MB / 0.4976 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.4139, allocations: 0.9506 MB / 0.4985 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007394/0.4213, allocations: 6.138 MB / 0.5045 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4214, allocations: 0 / 0.5045 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4214, allocations: 5.188 kB / 0.5045 GB, free: 13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002024/0.4216, allocations: 0 / 0.5045 GB, free: 13 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.00862/0.4302, allocations: 4.352 MB / 0.5088 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4303, allocations: 14.12 kB / 0.5088 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009838/0.4401, allocations: 3.276 MB / 0.512 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005163/0.4453, allocations: 2.414 MB / 0.5143 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4455, allocations: 263.1 kB / 0.5146 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007977/0.4463, allocations: 351.1 kB / 0.5149 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.4647, allocations: 12.64 MB / 0.5273 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.4649, allocations: 39.64 kB / 0.5273 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/0.4653, allocations: 159.8 kB / 0.5275 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004461/0.4698, allocations: 3.032 MB / 0.5304 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.4891, allocations: 11.28 MB / 0.5414 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05521/0.5443, allocations: 42.31 MB / 0.5828 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008576/0.553, allocations: 4.703 MB / 0.5873 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.556, allocations: 2.428 MB / 0.5897 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.5571, allocations: 1.319 MB / 0.591 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.5571, allocations: 52.56 kB / 0.5911 GB, free: 9.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 4.007e-06/0.5571, allocations: 0 / 0.5911 GB, free: 9.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.04103/0.5982, allocations: 19.47 MB / 0.6101 GB, free: 5.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.5983, allocations: 103.1 kB / 0.6102 GB, free: 5.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.6025, allocations: 3.239 MB / 0.6133 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004349/0.603, allocations: 57.7 kB / 0.6134 GB, free: 2.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00236/0.6053, allocations: 3.28 MB / 0.6166 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.607, allocations: 0.9752 MB / 0.6175 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.6073, allocations: 123.9 kB / 0.6177 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004469/0.6078, allocations: 0.5743 MB / 0.6182 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.6118, allocations: 2.475 MB / 0.6206 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/0.6179, allocations: 5.861 MB / 0.6264 GB, free: 3.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2292/0.8471, allocations: 3.792 MB / 0.6301 GB, free: 141.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/0.8473, allocations: 34.41 kB / 0.6301 GB, free: 141.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01662/0.8639, allocations: 9.124 MB / 0.639 GB, free: 141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.864, allocations: 57.06 kB / 0.6391 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.8641, allocations: 120.4 kB / 0.6392 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.8667, allocations: 1.071 MB / 0.6402 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/0.871, allocations: 1.4 MB / 0.6416 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006031/0.8771, allocations: 5.138 MB / 0.6466 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.8814, allocations: 336.5 kB / 0.6469 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/0.8821, allocations: 351.2 kB / 0.6473 GB, free: 138.2 MB / 494.1 MB 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 (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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006186/0.8883, allocations: 2.483 MB / 0.6497 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.889, allocations: 320.2 kB / 0.65 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/0.8972, allocations: 5.365 MB / 0.6552 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/0.8973, allocations: 45.06 kB / 0.6553 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8974, allocations: 5.031 kB / 0.6553 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.8974, allocations: 11.45 kB / 0.6553 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/0.9211, allocations: 13.33 MB / 0.6683 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.9212, allocations: 16.19 kB / 0.6683 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.9229, allocations: 421.2 kB / 0.6687 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.9257, allocations: 0.8925 MB / 0.6696 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.926, allocations: 59.62 kB / 0.6696 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/0.9312, allocations: 4.497 MB / 0.674 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.9312, allocations: 15.62 kB / 0.6741 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.9423, allocations: 8.012 MB / 0.6819 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/0.9444, allocations: 0.7304 MB / 0.6826 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/0.945, allocations: 55.94 kB / 0.6826 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.9463, allocations: 150.7 kB / 0.6828 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.9467, allocations: 169.4 kB / 0.683 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.9468, allocations: 79.66 kB / 0.683 GB, free: 124.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002766/0.9496, allocations: 1.977 MB / 0.685 GB, free: 123.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9496, allocations: 0 / 0.685 GB, free: 123.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00458/0.9542, allocations: 1.119 MB / 0.6861 GB, free: 122.6 MB / 494.1 MB 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 (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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/0.9546, allocations: 195.9 kB / 0.6862 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00929/0.9639, allocations: 6.046 MB / 0.6921 GB, free: 117.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.964, allocations: 4.062 kB / 0.6921 GB, free: 117.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.9669, allocations: 2.244 MB / 0.6943 GB, free: 115.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9697, allocations: 429.4 kB / 0.6947 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.9886, allocations: 13.92 MB / 0.7083 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/0.9926, allocations: 3.829 MB / 0.7121 GB, free: 98.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004474/0.9971, allocations: 2.185 MB / 0.7142 GB, free: 96.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.9977, allocations: 243.4 kB / 0.7144 GB, free: 96.52 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.9977, allocations: 0 / 0.7144 GB, free: 96.52 MB / 494.1 MB Notification: Performance of Templates: time 0.05045/1.048, allocations: 34.9 MB / 0.7485 GB, free: 61.73 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: