Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006071/0.006071, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001289/0.001289, allocations: 190 kB / 16.67 MB, free: 6.379 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.4305/0.4305, allocations: 39.95 MB / 309.8 MB, free: 9.453 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.001472/0.001472, allocations: 72.47 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4234, allocations: 56.89 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01358/0.437, allocations: 13.18 MB / 0.494 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.4483, allocations: 4.169 MB / 0.4981 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.4519, allocations: 74.81 kB / 0.4981 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.456, allocations: 1.859 MB / 0.4999 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.4615, allocations: 1.857 MB / 0.5018 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.463, allocations: 496.4 kB / 0.5022 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006669/0.4697, allocations: 3.911 MB / 0.5061 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.4735, allocations: 2.928 MB / 0.5089 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.476, allocations: 1.407 MB / 0.5103 GB, free: 56 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.4788, allocations: 1.975 MB / 0.5122 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008135/0.4796, allocations: 304.1 kB / 0.5125 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.4828, allocations: 1.12 MB / 0.5136 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.485, allocations: 1.85 MB / 0.5154 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.4871, allocations: 2.194 MB / 0.5175 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4972, allocations: 7.333 MB / 0.5247 GB, free: 3.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4972, allocations: 4 kB / 0.5247 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4972, allocations: 4 kB / 0.5247 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.4975, allocations: 0 / 0.5247 GB, free: 3.57 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.01329/0.5108, allocations: 4.884 MB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/0.5109, allocations: 15.89 kB / 0.5295 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.522, allocations: 3.142 MB / 0.5326 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/0.5296, allocations: 2.177 MB / 0.5347 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.5299, allocations: 234 kB / 0.5349 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.5315, allocations: 299.9 kB / 0.5352 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/0.5585, allocations: 11.45 MB / 0.5464 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.5588, allocations: 27.8 kB / 0.5464 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002298/0.5611, allocations: 135.8 kB / 0.5465 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005599/0.5667, allocations: 2.636 MB / 0.5491 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.595, allocations: 10.69 MB / 0.5596 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08044/0.6756, allocations: 36.23 MB / 0.5949 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009539/0.6852, allocations: 4.415 MB / 0.5992 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004018/0.6893, allocations: 2.162 MB / 0.6014 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.691, allocations: 1.323 MB / 0.6026 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.137e-05/0.6911, allocations: 56.56 kB / 0.6027 GB, free: 1.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=244): time 1.032e-05/0.6911, allocations: 0 / 0.6027 GB, free: 1.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.04689/0.738, allocations: 13.89 MB / 0.6163 GB, free: 3.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.7383, allocations: 73.41 kB / 0.6163 GB, free: 3.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009291/0.7476, allocations: 2.844 MB / 0.6191 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000882/0.7485, allocations: 65.69 kB / 0.6192 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004053/0.7526, allocations: 2.93 MB / 0.622 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002254/0.7549, allocations: 0.9674 MB / 0.623 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/0.7569, allocations: 1.163 MB / 0.6241 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7571, allocations: 309.1 kB / 0.6244 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/0.7607, allocations: 2.369 MB / 0.6267 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006792/0.7675, allocations: 5.537 MB / 0.6321 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4401/1.208, allocations: 8.674 MB / 0.6406 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.208, allocations: 32.34 kB / 0.6406 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.028/1.236, allocations: 8.631 MB / 0.6491 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.236, allocations: 51.84 kB / 0.6491 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002991/1.236, allocations: 110.6 kB / 0.6492 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006071/1.242, allocations: 1.042 MB / 0.6502 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007912/1.25, allocations: 1.341 MB / 0.6515 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/1.255, allocations: 2.608 MB / 0.6541 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005509/1.26, allocations: 316.8 kB / 0.6544 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.261, allocations: 333 kB / 0.6547 GB, free: 110.7 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.005171/1.267, allocations: 2.27 MB / 0.6569 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009624/1.268, allocations: 289.2 kB / 0.6572 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.279, allocations: 5.084 MB / 0.6622 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/1.279, allocations: 48.28 kB / 0.6622 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/1.279, allocations: 5.906 kB / 0.6622 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.279, allocations: 7.453 kB / 0.6622 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.305, allocations: 11.54 MB / 0.6735 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.305, allocations: 3.844 kB / 0.6735 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.306, allocations: 426.6 kB / 0.6739 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.31, allocations: 0.9117 MB / 0.6748 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/1.31, allocations: 59.52 kB / 0.6748 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/1.312, allocations: 2.419 MB / 0.6772 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.312, allocations: 7.906 kB / 0.6772 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.323, allocations: 7.535 MB / 0.6846 GB, free: 95.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.324, allocations: 324.7 kB / 0.6849 GB, free: 95.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007774/1.325, allocations: 55.92 kB / 0.6849 GB, free: 95.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.327, allocations: 143.4 kB / 0.6851 GB, free: 94.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/1.328, allocations: 155.3 kB / 0.6852 GB, free: 94.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.328, allocations: 75.98 kB / 0.6853 GB, free: 94.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00409/1.332, allocations: 1.746 MB / 0.687 GB, free: 93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/1.332, allocations: 0 / 0.687 GB, free: 93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00528/1.337, allocations: 1.009 MB / 0.688 GB, free: 92 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.0006287/1.338, allocations: 202.5 kB / 0.6882 GB, free: 91.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.349, allocations: 6.242 MB / 0.6943 GB, free: 85.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.359e-05/1.349, allocations: 0 / 0.6943 GB, free: 85.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004756/1.354, allocations: 2.615 MB / 0.6968 GB, free: 82.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.358, allocations: 456.7 kB / 0.6973 GB, free: 82.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.381, allocations: 10.86 MB / 0.7079 GB, free: 71.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.385, allocations: 3.508 MB / 0.7113 GB, free: 67.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003817/1.389, allocations: 2.093 MB / 0.7133 GB, free: 65.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/1.39, allocations: 239.4 kB / 0.7136 GB, free: 65.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/1.39, allocations: 0 / 0.7136 GB, free: 65.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.05496/1.445, allocations: 31.27 MB / 0.7441 GB, free: 34.46 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)