Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007006/0.007006, allocations: 103 kB / 15.73 MB, free: 6.051 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.001439/0.001439, allocations: 193 kB / 16.67 MB, free: 5.98 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.399/1.399, 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.2+maint.om/package.mo): time 0.304/0.304, allocations: 39.94 MB / 309.8 MB, free: 9.234 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.001433/0.001433, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3208, allocations: 56.88 MB / 492.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01727/0.3381, allocations: 15.74 MB / 0.4965 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.3508, allocations: 4.493 MB / 0.5009 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.3556, allocations: 87.22 kB / 0.501 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005949/0.3616, allocations: 2.249 MB / 0.5032 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007477/0.3691, allocations: 2.071 MB / 0.5052 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.3717, allocations: 0.6203 MB / 0.5058 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00721/0.3789, allocations: 4.459 MB / 0.5101 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004546/0.3835, allocations: 3.223 MB / 0.5133 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.3866, allocations: 1.643 MB / 0.5149 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.3903, allocations: 2.273 MB / 0.5171 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009198/0.3912, allocations: 354.7 kB / 0.5175 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.3936, allocations: 1.045 MB / 0.5185 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.3959, allocations: 2.053 MB / 0.5205 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00313/0.3991, allocations: 2.489 MB / 0.5229 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4108, allocations: 8.051 MB / 0.5308 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4108, allocations: 0 / 0.5308 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4109, allocations: 0 / 0.5308 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002131/0.4111, allocations: 0 / 0.5308 GB, free: 13.36 MB / 414.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.01095/0.422, allocations: 5.265 MB / 0.5359 GB, free: 8.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4221, allocations: 15.83 kB / 0.5359 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.4335, allocations: 3.188 MB / 0.539 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/0.4398, allocations: 2.479 MB / 0.5415 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.4401, allocations: 266.9 kB / 0.5417 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.4415, allocations: 351.6 kB / 0.542 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.4629, allocations: 12.65 MB / 0.5544 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.4631, allocations: 35.75 kB / 0.5544 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005764/0.4637, allocations: 159.8 kB / 0.5546 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005143/0.4688, allocations: 3.024 MB / 0.5575 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.4897, allocations: 11.34 MB / 0.5686 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07764/0.5674, allocations: 42.1 MB / 0.6097 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009828/0.5773, allocations: 4.708 MB / 0.6143 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/0.5809, allocations: 2.44 MB / 0.6167 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.5821, allocations: 1.315 MB / 0.618 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.5821, allocations: 52.56 kB / 0.618 GB, free: 1.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.564e-06/0.5822, allocations: 4 kB / 0.618 GB, free: 1.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.4355/1.018, allocations: 19.51 MB / 0.6371 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/1.018, allocations: 102.3 kB / 0.6372 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/1.025, allocations: 3.263 MB / 0.6404 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000795/1.026, allocations: 61.58 kB / 0.6404 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004017/1.03, allocations: 3.282 MB / 0.6437 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.031, allocations: 0.9832 MB / 0.6446 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003144/1.035, allocations: 1.208 MB / 0.6458 GB, free: 120 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.035, allocations: 310.4 kB / 0.6461 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004592/1.039, allocations: 2.494 MB / 0.6485 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008573/1.048, allocations: 5.892 MB / 0.6543 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.063, allocations: 9.19 MB / 0.6633 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003129/1.063, allocations: 34.28 kB / 0.6633 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02506/1.088, allocations: 9.176 MB / 0.6722 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.088, allocations: 55.28 kB / 0.6723 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002826/1.088, allocations: 119 kB / 0.6724 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/1.092, allocations: 1.059 MB / 0.6734 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/1.098, allocations: 1.394 MB / 0.6748 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007255/1.105, allocations: 5.547 MB / 0.6802 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/1.111, allocations: 327.7 kB / 0.6805 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.113, allocations: 351.5 kB / 0.6809 GB, free: 100.1 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.005406/1.119, allocations: 2.486 MB / 0.6833 GB, free: 98.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.12, allocations: 324.2 kB / 0.6836 GB, free: 98.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008703/1.128, allocations: 5.374 MB / 0.6889 GB, free: 95.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/1.129, allocations: 47.91 kB / 0.6889 GB, free: 95.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.129, allocations: 10.64 kB / 0.6889 GB, free: 95.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.129, allocations: 11.91 kB / 0.6889 GB, free: 95.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/1.152, allocations: 13.33 MB / 0.7019 GB, free: 81.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.152, allocations: 12 kB / 0.702 GB, free: 81.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.153, allocations: 423.5 kB / 0.7024 GB, free: 81.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.156, allocations: 0.8864 MB / 0.7032 GB, free: 80.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003025/1.156, allocations: 59.81 kB / 0.7033 GB, free: 80.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/1.162, allocations: 4.826 MB / 0.708 GB, free: 75.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.162, allocations: 15.94 kB / 0.708 GB, free: 75.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.173, allocations: 8.031 MB / 0.7159 GB, free: 67.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.175, allocations: 0.7353 MB / 0.7166 GB, free: 66.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/1.176, allocations: 55.92 kB / 0.7166 GB, free: 66.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.177, allocations: 151.7 kB / 0.7168 GB, free: 66.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/1.177, allocations: 169.5 kB / 0.7169 GB, free: 66.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.177, allocations: 83.81 kB / 0.717 GB, free: 65.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002661/1.18, allocations: 2.014 MB / 0.719 GB, free: 63.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.18, allocations: 0 / 0.719 GB, free: 63.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005981/1.186, allocations: 1.112 MB / 0.7201 GB, free: 62.84 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.0005301/1.187, allocations: 200 kB / 0.7203 GB, free: 62.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008582/1.195, allocations: 6.123 MB / 0.7262 GB, free: 56.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/1.195, allocations: 0 / 0.7262 GB, free: 56.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002796/1.198, allocations: 2.259 MB / 0.7284 GB, free: 54.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.201, allocations: 446.6 kB / 0.7289 GB, free: 53.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.222, allocations: 11.61 MB / 0.7402 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/1.226, allocations: 3.834 MB / 0.7439 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004033/1.23, allocations: 2.181 MB / 0.7461 GB, free: 36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/1.231, allocations: 247.4 kB / 0.7463 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/1.231, allocations: 0 / 0.7463 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.05975/1.291, allocations: 34.92 MB / 0.7804 GB, free: 0.9062 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)