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.0009816/0.0009816, allocations: 101.4 kB / 15.05 MB, free: 1.105 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.0009085/0.0009085, allocations: 177.3 kB / 15.94 MB, free: 220 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.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3658/0.3658, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0008745/0.0008746, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1639, allocations: 57.5 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.402/0.566, allocations: 40.3 MB / 474.2 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03743/0.6035, allocations: 9.602 MB / 483.8 MB, free: 26.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01734/0.6209, allocations: 195.5 kB / 484 MB, free: 26.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01386/0.6349, allocations: 2.027 MB / 486 MB, free: 25.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03328/0.6682, allocations: 5.917 MB / 492 MB, free: 22.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005201/0.6734, allocations: 0.5069 MB / 492.5 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008404/0.6819, allocations: 2.446 MB / 494.9 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008914/0.6909, allocations: 3.572 MB / 498.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.6956, allocations: 1.177 MB / 499.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/0.7004, allocations: 1.543 MB / 0.4895 GB, free: 19.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002171/0.7026, allocations: 174.2 kB / 0.4896 GB, free: 19.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.7082, allocations: 0.7673 MB / 0.4904 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005728/0.7139, allocations: 1.709 MB / 0.492 GB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.718, allocations: 0.955 MB / 0.493 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.7357, allocations: 6.141 MB / 0.499 GB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7358, allocations: 0 / 0.499 GB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.7358, allocations: 1.156 kB / 0.499 GB, free: 16.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005099/0.7363, allocations: 0 / 0.499 GB, free: 16.08 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.02474/0.7611, allocations: 4.423 MB / 0.5033 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.172e-05/0.7612, allocations: 9.594 kB / 0.5033 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/0.7837, allocations: 3.845 MB / 0.5071 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/0.7968, allocations: 2.613 MB / 0.5096 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009535/0.7978, allocations: 261.4 kB / 0.5099 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003907/0.8018, allocations: 346.2 kB / 0.5102 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/0.8505, allocations: 12.72 MB / 0.5226 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003255/0.8508, allocations: 35.75 kB / 0.5226 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003068/0.8539, allocations: 155.8 kB / 0.5228 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009474/0.8634, allocations: 3.04 MB / 0.5258 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04126/0.9047, allocations: 11.4 MB / 0.5369 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09311/0.9979, allocations: 42.42 MB / 0.5783 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.009, allocations: 4.699 MB / 0.5829 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/1.011, allocations: 1.319 MB / 0.5842 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.432e-05/1.011, allocations: 56.56 kB / 0.5842 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 9.367e-06/1.011, allocations: 0 / 0.5842 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.06058/1.072, allocations: 20.04 MB / 0.6038 GB, free: 11.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.072, allocations: 107 kB / 0.6039 GB, free: 11.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008436/1.08, allocations: 3.365 MB / 0.6072 GB, free: 8.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007463/1.081, allocations: 61.69 kB / 0.6073 GB, free: 7.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003661/1.085, allocations: 3.284 MB / 0.6105 GB, free: 4.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00192/1.087, allocations: 0.979 MB / 0.6114 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.088, allocations: 116 kB / 0.6115 GB, free: 3.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007571/1.088, allocations: 0.5742 MB / 0.6121 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004947/1.093, allocations: 2.464 MB / 0.6145 GB, free: 496 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008103/1.101, allocations: 5.837 MB / 0.6202 GB, free: 8.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/1.11, allocations: 3.774 MB / 0.6239 GB, free: 5.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002218/1.11, allocations: 36 kB / 0.6239 GB, free: 5.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.3806/1.491, allocations: 9.09 MB / 0.6328 GB, free: 139.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.491, allocations: 60.5 kB / 0.6329 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/1.491, allocations: 119 kB / 0.633 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/1.494, allocations: 1.073 MB / 0.634 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.499, allocations: 1.387 MB / 0.6354 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007345/1.507, allocations: 5.282 MB / 0.6405 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.513, allocations: 333.1 kB / 0.6409 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/1.514, allocations: 351.2 kB / 0.6412 GB, free: 138.5 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 (747): * Single equations (assignments): 740 * 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.008038/1.522, allocations: 2.48 MB / 0.6436 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009352/1.523, allocations: 323.8 kB / 0.6439 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/1.532, allocations: 5.367 MB / 0.6492 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.384e-05/1.532, allocations: 51.41 kB / 0.6492 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.532, allocations: 3.406 kB / 0.6492 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/1.532, allocations: 13.41 kB / 0.6492 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03488/1.567, allocations: 13.34 MB / 0.6622 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-05/1.567, allocations: 11.22 kB / 0.6623 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.57, allocations: 427 kB / 0.6627 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/1.573, allocations: 0.9004 MB / 0.6635 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006143/1.574, allocations: 59.03 kB / 0.6636 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007379/1.581, allocations: 4.628 MB / 0.6681 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.287e-05/1.581, allocations: 19.12 kB / 0.6681 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.599, allocations: 9.111 MB / 0.677 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003156/1.602, allocations: 0.7399 MB / 0.6778 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.603, allocations: 54.41 kB / 0.6778 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.606, allocations: 154.8 kB / 0.678 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005292/1.606, allocations: 171.4 kB / 0.6781 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/1.607, allocations: 78.75 kB / 0.6782 GB, free: 124.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004991/1.612, allocations: 2.075 MB / 0.6802 GB, free: 123.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.612, allocations: 0 / 0.6802 GB, free: 123.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008514/1.62, allocations: 1.138 MB / 0.6813 GB, free: 123.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.000998/1.621, allocations: 220.6 kB / 0.6815 GB, free: 123.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/1.632, allocations: 6.025 MB / 0.6874 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/1.632, allocations: 0 / 0.6874 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00391/1.636, allocations: 2.247 MB / 0.6896 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/1.639, allocations: 397.7 kB / 0.69 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.671, allocations: 13.87 MB / 0.7036 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007881/1.679, allocations: 3.948 MB / 0.7074 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005246/1.684, allocations: 2.183 MB / 0.7095 GB, free: 99.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/1.685, allocations: 243.4 kB / 0.7098 GB, free: 99.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/1.685, allocations: 0 / 0.7098 GB, free: 99.73 MB / 494.1 MB Notification: Performance of Templates: time 0.0697/1.755, allocations: 35.48 MB / 0.7444 GB, free: 64.34 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: