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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.498/1.498, allocations: 205.1 MB / 222 MB, free: 4.734 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.3233/0.3233, allocations: 39.93 MB / 309.3 MB, free: 9.391 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.001382/0.001382, allocations: 70.41 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1207, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2458/0.3666, allocations: 47.11 MB / 480.9 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0232/0.3898, allocations: 9.729 MB / 490.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.4016, allocations: 195.3 kB / 490.8 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.406, allocations: 2.203 MB / 493 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.4109, allocations: 1.944 MB / 495 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4124, allocations: 0.5708 MB / 495.6 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006523/0.419, allocations: 6.232 MB / 0.49 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005362/0.4244, allocations: 3.124 MB / 0.4931 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.4279, allocations: 1.455 MB / 0.4945 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.433, allocations: 2.376 MB / 0.4968 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.4343, allocations: 245.4 kB / 0.4971 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.4373, allocations: 1.012 MB / 0.498 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002746/0.44, allocations: 1.981 MB / 0.5 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004977/0.445, allocations: 2.399 MB / 0.5023 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.4583, allocations: 7.615 MB / 0.5098 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.4584, allocations: 1.094 kB / 0.5098 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4584, allocations: 0 / 0.5098 GB, free: 6.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005849/0.459, allocations: 0 / 0.5098 GB, free: 6.723 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.01994/0.4789, allocations: 5.262 MB / 0.5149 GB, free: 3.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.479, allocations: 13.47 kB / 0.5149 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.49, allocations: 3.19 MB / 0.518 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.4963, allocations: 2.453 MB / 0.5204 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4966, allocations: 256.4 kB / 0.5207 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.4976, allocations: 355.1 kB / 0.521 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.5251, allocations: 12.65 MB / 0.5334 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.5254, allocations: 31.66 kB / 0.5334 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006112/0.526, allocations: 167.8 kB / 0.5336 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005817/0.5318, allocations: 3.032 MB / 0.5365 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.5568, allocations: 11.33 MB / 0.5476 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06841/0.6253, allocations: 42.31 MB / 0.5889 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009811/0.6351, allocations: 4.704 MB / 0.5935 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.6388, allocations: 2.437 MB / 0.5959 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.6401, allocations: 1.315 MB / 0.5972 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.6402, allocations: 56.56 kB / 0.5972 GB, free: 15.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 6.141e-06/0.6402, allocations: 0 / 0.5972 GB, free: 15.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04619/0.6864, allocations: 19.52 MB / 0.6163 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.6865, allocations: 107 kB / 0.6164 GB, free: 11.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/0.6913, allocations: 3.258 MB / 0.6196 GB, free: 8.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/0.6918, allocations: 61.69 kB / 0.6196 GB, free: 8.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.6938, allocations: 3.276 MB / 0.6228 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.6949, allocations: 0.9829 MB / 0.6238 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.6965, allocations: 1.218 MB / 0.625 GB, free: 2.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.6966, allocations: 309.1 kB / 0.6253 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2985/0.9951, allocations: 2.492 MB / 0.6277 GB, free: 145.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.006, allocations: 5.892 MB / 0.6334 GB, free: 141.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.017, allocations: 9.195 MB / 0.6424 GB, free: 135 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/1.017, allocations: 32.53 kB / 0.6425 GB, free: 135 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01671/1.034, allocations: 9.176 MB / 0.6514 GB, free: 132 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/1.034, allocations: 55.59 kB / 0.6515 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.035, allocations: 118.4 kB / 0.6516 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/1.037, allocations: 1.054 MB / 0.6526 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005202/1.043, allocations: 1.402 MB / 0.654 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/1.05, allocations: 5.143 MB / 0.659 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/1.055, allocations: 335.9 kB / 0.6593 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.056, allocations: 353.5 kB / 0.6597 GB, free: 129 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 (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.005208/1.062, allocations: 2.482 MB / 0.6621 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/1.062, allocations: 318.8 kB / 0.6624 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/1.071, allocations: 5.372 MB / 0.6676 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.559e-05/1.072, allocations: 53.02 kB / 0.6677 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.072, allocations: 8 kB / 0.6677 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/1.072, allocations: 13.41 kB / 0.6677 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03283/1.104, allocations: 13.36 MB / 0.6808 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.105, allocations: 7.812 kB / 0.6808 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.106, allocations: 421.2 kB / 0.6812 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002824/1.109, allocations: 0.8904 MB / 0.682 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/1.109, allocations: 55.3 kB / 0.6821 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006771/1.116, allocations: 4.511 MB / 0.6865 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/1.116, allocations: 23.38 kB / 0.6865 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.128, allocations: 8.028 MB / 0.6944 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.131, allocations: 0.7276 MB / 0.6951 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.132, allocations: 62.89 kB / 0.6951 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.134, allocations: 148.2 kB / 0.6953 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.134, allocations: 173.9 kB / 0.6954 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.134, allocations: 75.7 kB / 0.6955 GB, free: 112.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003608/1.138, allocations: 2.018 MB / 0.6975 GB, free: 110.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.138, allocations: 0 / 0.6975 GB, free: 110.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008527/1.147, allocations: 1.118 MB / 0.6986 GB, free: 109.5 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 (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.0008733/1.148, allocations: 204.8 kB / 0.6988 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009625/1.157, allocations: 6.068 MB / 0.7047 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.157, allocations: 4 kB / 0.7047 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/1.16, allocations: 2.262 MB / 0.7069 GB, free: 101.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.163, allocations: 415.5 kB / 0.7073 GB, free: 101.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.185, allocations: 14.31 MB / 0.7213 GB, free: 87.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.19, allocations: 3.826 MB / 0.725 GB, free: 84.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004829/1.195, allocations: 2.185 MB / 0.7271 GB, free: 81.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/1.196, allocations: 239.4 kB / 0.7274 GB, free: 81.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/1.196, allocations: 0 / 0.7274 GB, free: 81.68 MB / 494.1 MB Notification: Performance of Templates: time 0.06665/1.262, allocations: 36.33 MB / 0.7628 GB, free: 45.46 MB / 494.1 MB 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)