Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007981/0.00798, allocations: 107 kB / 15.74 MB, free: 5.582 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.001713/0.001713, allocations: 197.2 kB / 16.67 MB, free: 5.508 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.4401/0.4401, allocations: 38 MB / 307.9 MB, free: 10.1 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.001905/0.001905, allocations: 75.83 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4164, allocations: 56.45 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01869/0.4352, allocations: 13.18 MB / 0.4909 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.4509, allocations: 4.171 MB / 0.4949 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005938/0.4569, allocations: 71.12 kB / 0.495 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005148/0.4621, allocations: 1.857 MB / 0.4968 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.4702, allocations: 1.864 MB / 0.4986 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.4725, allocations: 492.2 kB / 0.4991 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008508/0.481, allocations: 3.909 MB / 0.5029 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.4863, allocations: 2.931 MB / 0.5058 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.4904, allocations: 1.415 MB / 0.5072 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.4955, allocations: 1.967 MB / 0.5091 GB, free: 312 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.4974, allocations: 304.7 kB / 0.5094 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004641/0.502, allocations: 1.125 MB / 0.5105 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003279/0.5053, allocations: 1.847 MB / 0.5123 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00768/0.513, allocations: 2.196 MB / 0.5144 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.5328, allocations: 7.333 MB / 0.5216 GB, free: 6.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.5329, allocations: 8 kB / 0.5216 GB, free: 6.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5329, allocations: 0 / 0.5216 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004803/0.5334, allocations: 4 kB / 0.5216 GB, free: 6.738 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01932/0.5527, allocations: 4.884 MB / 0.5264 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.5528, allocations: 11.89 kB / 0.5264 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.5657, allocations: 3.138 MB / 0.5294 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007783/0.5736, allocations: 2.181 MB / 0.5316 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.574, allocations: 226 kB / 0.5318 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.5762, allocations: 303.8 kB / 0.5321 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02926/0.6055, allocations: 11.45 MB / 0.5433 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/0.6059, allocations: 27.72 kB / 0.5433 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/0.6084, allocations: 135.8 kB / 0.5434 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005633/0.6141, allocations: 2.632 MB / 0.546 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02757/0.6417, allocations: 10.69 MB / 0.5564 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07743/0.7192, allocations: 36.23 MB / 0.5918 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009977/0.7292, allocations: 4.407 MB / 0.5961 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/0.7331, allocations: 2.166 MB / 0.5982 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.7348, allocations: 1.323 MB / 0.5995 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.47e-05/0.7349, allocations: 52.56 kB / 0.5996 GB, free: 4.992 MB / 478.1 MB Notification: Performance of pre-optimization done (n=244): time 7.324e-06/0.7349, allocations: 0 / 0.5996 GB, free: 4.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.04561/0.7805, allocations: 13.89 MB / 0.6131 GB, free: 7.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.7807, allocations: 77.39 kB / 0.6132 GB, free: 6.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006336/0.787, allocations: 2.836 MB / 0.616 GB, free: 4.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006131/0.7877, allocations: 61.7 kB / 0.616 GB, free: 4.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003025/0.7907, allocations: 2.934 MB / 0.6189 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001573/0.7923, allocations: 0.9712 MB / 0.6199 GB, free: 80 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003357/0.7957, allocations: 1.171 MB / 0.621 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7958, allocations: 301.1 kB / 0.6213 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004402/0.8002, allocations: 2.373 MB / 0.6236 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007413/0.8077, allocations: 5.549 MB / 0.629 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3438/1.152, allocations: 8.667 MB / 0.6375 GB, free: 119 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/1.152, allocations: 31.38 kB / 0.6375 GB, free: 119 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02305/1.175, allocations: 8.621 MB / 0.6459 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-05/1.175, allocations: 51.88 kB / 0.646 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.175, allocations: 111.4 kB / 0.6461 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/1.179, allocations: 1.047 MB / 0.6471 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006342/1.186, allocations: 1.343 MB / 0.6484 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/1.189, allocations: 2.602 MB / 0.651 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.194, allocations: 322.3 kB / 0.6513 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.196, allocations: 334.6 kB / 0.6516 GB, free: 114.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (727): * Single equations (assignments): 718 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005439/1.202, allocations: 2.271 MB / 0.6538 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/1.202, allocations: 292.7 kB / 0.6541 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.212, allocations: 5.072 MB / 0.659 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/1.212, allocations: 45.19 kB / 0.6591 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.212, allocations: 5.312 kB / 0.6591 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/1.212, allocations: 11.53 kB / 0.6591 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.236, allocations: 11.53 MB / 0.6704 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/1.236, allocations: 12.28 kB / 0.6704 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.238, allocations: 424.6 kB / 0.6708 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.241, allocations: 0.9075 MB / 0.6717 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.242, allocations: 61.55 kB / 0.6717 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.244, allocations: 2.415 MB / 0.6741 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.244, allocations: 11.56 kB / 0.6741 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.255, allocations: 7.529 MB / 0.6815 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/1.255, allocations: 329.3 kB / 0.6818 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/1.256, allocations: 55.92 kB / 0.6818 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.257, allocations: 143.1 kB / 0.682 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.257, allocations: 160.5 kB / 0.6821 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.257, allocations: 75.98 kB / 0.6822 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002545/1.26, allocations: 1.742 MB / 0.6839 GB, free: 99.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-07/1.26, allocations: 4 kB / 0.6839 GB, free: 99.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004953/1.265, allocations: 1.008 MB / 0.6849 GB, free: 98.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004668/1.265, allocations: 194.1 kB / 0.6851 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008592/1.274, allocations: 6.24 MB / 0.6912 GB, free: 91.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.274, allocations: 6 kB / 0.6912 GB, free: 91.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.278, allocations: 2.608 MB / 0.6937 GB, free: 89.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.28, allocations: 457.8 kB / 0.6941 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.297, allocations: 10.85 MB / 0.7047 GB, free: 77.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/1.3, allocations: 3.515 MB / 0.7082 GB, free: 74.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003948/1.304, allocations: 2.089 MB / 0.7102 GB, free: 72.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/1.305, allocations: 243.4 kB / 0.7104 GB, free: 71.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.447e-06/1.305, allocations: 0 / 0.7104 GB, free: 71.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.05952/1.364, allocations: 31.27 MB / 0.741 GB, free: 40.85 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)