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.001154/0.001154, 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.001163/0.001163, allocations: 195.9 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.762 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.3245/0.3245, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.002571/0.002571, allocations: 68.55 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1491, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3316/0.4807, allocations: 47.11 MB / 478.1 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02859/0.5094, allocations: 9.721 MB / 487.9 MB, free: 21.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01409/0.5236, allocations: 198.1 kB / 488 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004474/0.5281, allocations: 2.218 MB / 490.3 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.534, allocations: 1.929 MB / 492.2 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.5355, allocations: 0.5814 MB / 492.8 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006642/0.5421, allocations: 6.232 MB / 499 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004504/0.5467, allocations: 3.122 MB / 0.4904 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.5495, allocations: 1.444 MB / 0.4918 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/0.555, allocations: 2.391 MB / 0.4941 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.5564, allocations: 244.3 kB / 0.4943 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.5594, allocations: 1.003 MB / 0.4953 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003749/0.5632, allocations: 1.978 MB / 0.4973 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005337/0.5685, allocations: 2.403 MB / 0.4996 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.5837, allocations: 7.616 MB / 0.507 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.5838, allocations: 4 kB / 0.507 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5838, allocations: 0 / 0.507 GB, free: 9.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006507/0.5845, allocations: 0 / 0.507 GB, free: 9.617 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.02085/0.6053, allocations: 5.263 MB / 0.5122 GB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.6054, allocations: 9.25 kB / 0.5122 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.6166, allocations: 3.201 MB / 0.5153 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/0.6241, allocations: 2.452 MB / 0.5177 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.6244, allocations: 259.7 kB / 0.518 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.6261, allocations: 344.5 kB / 0.5183 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.6519, allocations: 12.65 MB / 0.5306 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.6522, allocations: 35.66 kB / 0.5307 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007734/0.6529, allocations: 159.8 kB / 0.5308 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006009/0.659, allocations: 3.036 MB / 0.5338 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02913/0.6881, allocations: 11.33 MB / 0.5449 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07888/0.7671, allocations: 42.3 MB / 0.5862 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.7777, allocations: 4.712 MB / 0.5908 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.7814, allocations: 2.437 MB / 0.5931 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.7827, allocations: 1.315 MB / 0.5944 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.7827, allocations: 56.56 kB / 0.5945 GB, free: 3.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 6.122e-06/0.7827, allocations: 0 / 0.5945 GB, free: 3.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.04666/0.8294, allocations: 19.52 MB / 0.6136 GB, free: 15.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8295, allocations: 103 kB / 0.6137 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.8348, allocations: 3.259 MB / 0.6168 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006356/0.8355, allocations: 65.64 kB / 0.6169 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002356/0.8378, allocations: 3.288 MB / 0.6201 GB, free: 9.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.8393, allocations: 0.979 MB / 0.6211 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/0.8411, allocations: 1.211 MB / 0.6222 GB, free: 6.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.8413, allocations: 301.1 kB / 0.6225 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/0.845, allocations: 2.495 MB / 0.625 GB, free: 4.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2497/1.095, allocations: 5.888 MB / 0.6307 GB, free: 144.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.105, allocations: 9.199 MB / 0.6397 GB, free: 138.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.105, allocations: 32.47 kB / 0.6397 GB, free: 138.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.0167/1.122, allocations: 9.175 MB / 0.6487 GB, free: 135.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.122, allocations: 58.09 kB / 0.6487 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/1.122, allocations: 117.5 kB / 0.6489 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.125, allocations: 1.057 MB / 0.6499 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/1.13, allocations: 1.396 MB / 0.6513 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/1.137, allocations: 5.156 MB / 0.6563 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/1.143, allocations: 329.9 kB / 0.6566 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.144, allocations: 348.8 kB / 0.6569 GB, free: 132.7 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.00775/1.152, allocations: 2.488 MB / 0.6594 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009728/1.153, allocations: 318.9 kB / 0.6597 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.164, allocations: 5.377 MB / 0.6649 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/1.164, allocations: 48.62 kB / 0.665 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.164, allocations: 3.5 kB / 0.665 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.931e-05/1.164, allocations: 12.41 kB / 0.665 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.193, allocations: 13.36 MB / 0.678 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.193, allocations: 11.62 kB / 0.678 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.195, allocations: 429.9 kB / 0.6784 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/1.198, allocations: 0.8887 MB / 0.6793 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.198, allocations: 54.38 kB / 0.6794 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/1.203, allocations: 4.506 MB / 0.6838 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/1.203, allocations: 21.38 kB / 0.6838 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.214, allocations: 8.033 MB / 0.6916 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.216, allocations: 0.732 MB / 0.6923 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/1.216, allocations: 58.77 kB / 0.6924 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.218, allocations: 147.5 kB / 0.6925 GB, free: 117.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.218, allocations: 170.8 kB / 0.6927 GB, free: 117.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.218, allocations: 83.53 kB / 0.6928 GB, free: 117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002998/1.221, allocations: 2.016 MB / 0.6948 GB, free: 115.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.221, allocations: 0 / 0.6948 GB, free: 115.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005889/1.227, allocations: 1.119 MB / 0.6958 GB, free: 114.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.0005024/1.228, allocations: 200.2 kB / 0.696 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008319/1.236, allocations: 6.066 MB / 0.702 GB, free: 108.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.236, allocations: 4.062 kB / 0.702 GB, free: 108.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.239, allocations: 2.261 MB / 0.7042 GB, free: 106.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.242, allocations: 417.6 kB / 0.7046 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/1.264, allocations: 14.31 MB / 0.7185 GB, free: 93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/1.268, allocations: 3.827 MB / 0.7223 GB, free: 89.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004626/1.272, allocations: 2.187 MB / 0.7244 GB, free: 87.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008775/1.273, allocations: 243.4 kB / 0.7247 GB, free: 86.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.283e-06/1.273, allocations: 0 / 0.7247 GB, free: 86.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06635/1.34, allocations: 36.32 MB / 0.7601 GB, free: 50.59 MB / 494.1 MB 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)