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.001138/0.001138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002604/0.002604, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.488/1.488, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3228/0.3228, allocations: 39.92 MB / 309.4 MB, free: 9.344 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.001406/0.001406, allocations: 63.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2598/0.3815, allocations: 47.11 MB / 481.1 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.4056, allocations: 9.631 MB / 490.7 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.4183, allocations: 198.1 kB / 490.9 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.4232, allocations: 2.147 MB / 493.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008038/0.4313, allocations: 1.937 MB / 495 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4339, allocations: 0.5851 MB / 495.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007356/0.4413, allocations: 4.458 MB / 0.4883 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/0.4467, allocations: 3.355 MB / 0.4916 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.451, allocations: 1.673 MB / 0.4932 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005539/0.4566, allocations: 2.483 MB / 0.4957 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002196/0.4588, allocations: 349.9 kB / 0.496 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/0.4632, allocations: 1.063 MB / 0.497 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.4677, allocations: 2.082 MB / 0.4991 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007234/0.475, allocations: 2.509 MB / 0.5015 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.4901, allocations: 7.751 MB / 0.5091 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.4901, allocations: 3.938 kB / 0.5091 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4901, allocations: 0 / 0.5091 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005841/0.4907, allocations: 1.312 kB / 0.5091 GB, free: 7.102 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.02086/0.5116, allocations: 5.262 MB / 0.5142 GB, free: 3.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5117, allocations: 16.75 kB / 0.5142 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.5232, allocations: 3.189 MB / 0.5174 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006416/0.5296, allocations: 2.445 MB / 0.5197 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.5299, allocations: 263.4 kB / 0.52 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.5316, allocations: 349.4 kB / 0.5203 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.5539, allocations: 12.65 MB / 0.5327 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.5541, allocations: 35.66 kB / 0.5327 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/0.5546, allocations: 163.8 kB / 0.5329 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004839/0.5594, allocations: 3.028 MB / 0.5358 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/0.584, allocations: 11.34 MB / 0.5469 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06203/0.6461, allocations: 42.3 MB / 0.5882 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00912/0.6552, allocations: 4.708 MB / 0.5928 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/0.6589, allocations: 2.434 MB / 0.5952 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.66, allocations: 1.319 MB / 0.5965 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.66, allocations: 68.55 kB / 0.5966 GB, free: 148 kB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 6.282e-06/0.6601, allocations: 0 / 0.5966 GB, free: 148 kB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.04604/0.7061, allocations: 19.51 MB / 0.6156 GB, free: 12.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.7062, allocations: 107.1 kB / 0.6157 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.7112, allocations: 3.262 MB / 0.6189 GB, free: 9.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005639/0.7117, allocations: 61.69 kB / 0.619 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.714, allocations: 3.276 MB / 0.6222 GB, free: 5.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001388/0.7154, allocations: 0.9829 MB / 0.6231 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/0.7172, allocations: 1.215 MB / 0.6243 GB, free: 3.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7173, allocations: 305.1 kB / 0.6246 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.7209, allocations: 2.499 MB / 0.627 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.269/0.99, allocations: 5.88 MB / 0.6328 GB, free: 143.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1, allocations: 9.198 MB / 0.6418 GB, free: 137.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/1, allocations: 33.22 kB / 0.6418 GB, free: 137.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01816/1.018, allocations: 9.171 MB / 0.6507 GB, free: 134.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.019, allocations: 57.5 kB / 0.6508 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.019, allocations: 122.1 kB / 0.6509 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002933/1.022, allocations: 1.06 MB / 0.6519 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004921/1.027, allocations: 1.398 MB / 0.6533 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/1.034, allocations: 5.55 MB / 0.6587 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00558/1.039, allocations: 332.9 kB / 0.659 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.041, allocations: 357.9 kB / 0.6594 GB, free: 131.4 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.007438/1.048, allocations: 2.479 MB / 0.6618 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.05, allocations: 321.8 kB / 0.6621 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.065, allocations: 5.373 MB / 0.6674 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-05/1.065, allocations: 49.19 kB / 0.6674 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/1.065, allocations: 6.875 kB / 0.6674 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.126e-05/1.065, allocations: 10.14 kB / 0.6674 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03086/1.096, allocations: 13.36 MB / 0.6805 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.096, allocations: 19.39 kB / 0.6805 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.097, allocations: 422 kB / 0.6809 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/1.1, allocations: 0.8935 MB / 0.6818 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/1.1, allocations: 56.41 kB / 0.6818 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/1.106, allocations: 4.838 MB / 0.6866 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/1.106, allocations: 19.16 kB / 0.6866 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.116, allocations: 8.032 MB / 0.6944 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.118, allocations: 0.7309 MB / 0.6951 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/1.118, allocations: 51.66 kB / 0.6952 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.12, allocations: 154.9 kB / 0.6953 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/1.12, allocations: 178.7 kB / 0.6955 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.12, allocations: 76 kB / 0.6956 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002749/1.123, allocations: 2.019 MB / 0.6975 GB, free: 111.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.123, allocations: 0 / 0.6975 GB, free: 111.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006038/1.129, allocations: 1.118 MB / 0.6986 GB, free: 110.3 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.0006141/1.13, allocations: 197.3 kB / 0.6988 GB, free: 110.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01578/1.146, allocations: 9.726 MB / 0.7083 GB, free: 101.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/1.146, allocations: 4 kB / 0.7083 GB, free: 101.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.149, allocations: 2.258 MB / 0.7105 GB, free: 99.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.152, allocations: 436.4 kB / 0.7109 GB, free: 98.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.174, allocations: 14.3 MB / 0.7249 GB, free: 84.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003537/1.177, allocations: 3.826 MB / 0.7286 GB, free: 80.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004756/1.182, allocations: 2.192 MB / 0.7308 GB, free: 78.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/1.183, allocations: 243.4 kB / 0.731 GB, free: 78.21 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/1.183, allocations: 4 kB / 0.731 GB, free: 78.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06514/1.248, allocations: 37.64 MB / 0.7678 GB, free: 40.68 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)