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.006213/0.006213, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001185/0.001185, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.408/1.408, 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.3806/0.3806, allocations: 38 MB / 307.9 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.001444/0.001444, allocations: 75.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3468, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01589/0.3627, allocations: 15.74 MB / 0.4934 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3752, allocations: 4.495 MB / 0.4978 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.3802, allocations: 82.62 kB / 0.4978 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.3859, allocations: 2.252 MB / 0.5 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008474/0.3944, allocations: 2.072 MB / 0.5021 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3965, allocations: 0.6228 MB / 0.5027 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.4042, allocations: 4.445 MB / 0.507 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004829/0.4091, allocations: 3.223 MB / 0.5102 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.4129, allocations: 1.644 MB / 0.5118 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.417, allocations: 2.281 MB / 0.514 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.4182, allocations: 349 kB / 0.5143 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.4211, allocations: 1.046 MB / 0.5153 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.4238, allocations: 2.062 MB / 0.5174 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003826/0.4277, allocations: 2.485 MB / 0.5198 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4382, allocations: 8.047 MB / 0.5276 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4382, allocations: 0 / 0.5276 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4382, allocations: 0 / 0.5276 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002652/0.4385, allocations: 0 / 0.5276 GB, free: 0.5391 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.01073/0.4492, allocations: 5.269 MB / 0.5328 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4493, allocations: 15.89 kB / 0.5328 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.4603, allocations: 3.188 MB / 0.5359 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006631/0.467, allocations: 2.483 MB / 0.5383 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4672, allocations: 262.9 kB / 0.5386 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.4683, allocations: 351.6 kB / 0.5389 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.4883, allocations: 12.65 MB / 0.5513 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.4885, allocations: 31.66 kB / 0.5513 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004741/0.489, allocations: 167.8 kB / 0.5515 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005153/0.4941, allocations: 3.028 MB / 0.5544 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.5177, allocations: 11.33 MB / 0.5655 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06838/0.5861, allocations: 42.1 MB / 0.6066 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009401/0.5956, allocations: 4.704 MB / 0.6112 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.599, allocations: 2.44 MB / 0.6136 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.6002, allocations: 1.315 MB / 0.6149 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.6003, allocations: 52.56 kB / 0.6149 GB, free: 4.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.599e-06/0.6003, allocations: 0 / 0.6149 GB, free: 4.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.04601/0.6463, allocations: 19.53 MB / 0.634 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.6464, allocations: 99.11 kB / 0.6341 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4023/1.049, allocations: 3.254 MB / 0.6373 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008286/1.05, allocations: 65.14 kB / 0.6373 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003249/1.053, allocations: 3.282 MB / 0.6405 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.055, allocations: 0.9827 MB / 0.6415 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/1.057, allocations: 1.213 MB / 0.6427 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/1.057, allocations: 301.1 kB / 0.643 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00622/1.063, allocations: 2.499 MB / 0.6454 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007659/1.071, allocations: 5.891 MB / 0.6512 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.085, allocations: 9.191 MB / 0.6601 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002442/1.085, allocations: 34.55 kB / 0.6602 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02193/1.107, allocations: 9.174 MB / 0.6691 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/1.107, allocations: 54.97 kB / 0.6692 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003339/1.107, allocations: 118.1 kB / 0.6693 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/1.111, allocations: 1.057 MB / 0.6703 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005388/1.116, allocations: 1.398 MB / 0.6717 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/1.125, allocations: 5.546 MB / 0.6771 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/1.13, allocations: 329.6 kB / 0.6774 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.131, allocations: 355.4 kB / 0.6778 GB, free: 102.2 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.005338/1.136, allocations: 2.48 MB / 0.6802 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008389/1.137, allocations: 323.4 kB / 0.6805 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008683/1.146, allocations: 5.379 MB / 0.6857 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/1.146, allocations: 51.42 kB / 0.6858 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.146, allocations: 4 kB / 0.6858 GB, free: 99.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/1.146, allocations: 13.92 kB / 0.6858 GB, free: 99.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.167, allocations: 13.31 MB / 0.6988 GB, free: 87.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.167, allocations: 8 kB / 0.6988 GB, free: 87.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.168, allocations: 427.3 kB / 0.6992 GB, free: 87.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.171, allocations: 0.8944 MB / 0.7001 GB, free: 86.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.171, allocations: 56 kB / 0.7002 GB, free: 86.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004931/1.176, allocations: 4.842 MB / 0.7049 GB, free: 81.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.176, allocations: 18.19 kB / 0.7049 GB, free: 81.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009989/1.186, allocations: 8.028 MB / 0.7127 GB, free: 73.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.188, allocations: 0.7312 MB / 0.7135 GB, free: 72.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/1.189, allocations: 55.58 kB / 0.7135 GB, free: 72.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.19, allocations: 151.7 kB / 0.7136 GB, free: 72.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/1.191, allocations: 169.5 kB / 0.7138 GB, free: 71.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.191, allocations: 83.98 kB / 0.7139 GB, free: 71.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002698/1.194, allocations: 2.014 MB / 0.7159 GB, free: 69.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.463e-06/1.194, allocations: 0 / 0.7159 GB, free: 69.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007262/1.201, allocations: 1.111 MB / 0.7169 GB, free: 68.79 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.0007796/1.202, allocations: 200.8 kB / 0.7171 GB, free: 68.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009282/1.211, allocations: 6.118 MB / 0.7231 GB, free: 62.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/1.211, allocations: 0.9375 kB / 0.7231 GB, free: 62.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002874/1.214, allocations: 2.264 MB / 0.7253 GB, free: 60.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.217, allocations: 446.5 kB / 0.7257 GB, free: 59.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.238, allocations: 11.6 MB / 0.7371 GB, free: 48.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/1.242, allocations: 3.826 MB / 0.7408 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004275/1.246, allocations: 2.185 MB / 0.7429 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/1.247, allocations: 247.3 kB / 0.7432 GB, free: 41.72 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/1.247, allocations: 0 / 0.7432 GB, free: 41.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.06267/1.31, allocations: 34.92 MB / 0.7773 GB, free: 6.867 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)