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.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001387/0.001387, allocations: 191.5 kB / 16.13 MB, free: 6.66 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.577/1.577, allocations: 205.1 MB / 222 MB, free: 4.746 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.3962/0.3962, allocations: 39.94 MB / 309.3 MB, free: 9.578 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.001824/0.001824, allocations: 75.89 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1653, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3542/0.5196, allocations: 34.06 MB / 467.9 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.5433, allocations: 7.718 MB / 475.6 MB, free: 30.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01002/0.5534, allocations: 141.6 kB / 475.7 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005187/0.5587, allocations: 1.823 MB / 477.6 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.5643, allocations: 1.745 MB / 479.3 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.5662, allocations: 451.2 kB / 479.7 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008029/0.5743, allocations: 5.556 MB / 485.3 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005836/0.5802, allocations: 2.854 MB / 488.2 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.5846, allocations: 1.217 MB / 489.4 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004968/0.5896, allocations: 2.065 MB / 491.4 MB, free: 24.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.5915, allocations: 211.1 kB / 491.6 MB, free: 24.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.5966, allocations: 1.097 MB / 492.7 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.601, allocations: 1.782 MB / 494.5 MB, free: 24.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008259/0.6093, allocations: 2.106 MB / 496.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.6258, allocations: 6.934 MB / 0.4918 GB, free: 20.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.6259, allocations: 4 kB / 0.4918 GB, free: 20.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6259, allocations: 0 / 0.4918 GB, free: 20.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004254/0.6263, allocations: 0 / 0.4918 GB, free: 20.13 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02359/0.6499, allocations: 4.897 MB / 0.4965 GB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/0.65, allocations: 10.5 kB / 0.4966 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.6635, allocations: 3.132 MB / 0.4996 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.6737, allocations: 2.167 MB / 0.5017 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004729/0.6742, allocations: 226.9 kB / 0.5019 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/0.677, allocations: 300.8 kB / 0.5022 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03264/0.7097, allocations: 11.46 MB / 0.5134 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004399/0.7102, allocations: 31.7 kB / 0.5134 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003301/0.7135, allocations: 139.8 kB / 0.5136 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005348/0.7189, allocations: 2.632 MB / 0.5162 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/0.7477, allocations: 10.68 MB / 0.5266 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0827/0.8305, allocations: 36.46 MB / 0.5622 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.8413, allocations: 4.415 MB / 0.5665 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/0.8456, allocations: 2.16 MB / 0.5686 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.8472, allocations: 1.311 MB / 0.5699 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.909e-05/0.8473, allocations: 52.56 kB / 0.5699 GB, free: 12.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 1.074e-05/0.8473, allocations: 3.938 kB / 0.5699 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.04461/0.892, allocations: 13.89 MB / 0.5835 GB, free: 14.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.8921, allocations: 77.41 kB / 0.5836 GB, free: 13.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007297/0.8994, allocations: 2.836 MB / 0.5864 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005606/0.9, allocations: 65.69 kB / 0.5864 GB, free: 11.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/0.9032, allocations: 2.934 MB / 0.5893 GB, free: 8.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/0.905, allocations: 0.9751 MB / 0.5902 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003712/0.9087, allocations: 1.163 MB / 0.5914 GB, free: 5.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.9089, allocations: 301.1 kB / 0.5917 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/0.9134, allocations: 2.366 MB / 0.594 GB, free: 3.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007287/0.9207, allocations: 5.545 MB / 0.5994 GB, free: 12.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.9328, allocations: 8.679 MB / 0.6079 GB, free: 1.934 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/0.933, allocations: 32 kB / 0.6079 GB, free: 1.902 MB / 478.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02811/0.9611, allocations: 8.623 MB / 0.6163 GB, free: 9.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/0.9615, allocations: 55.94 kB / 0.6164 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003299/0.9618, allocations: 112 kB / 0.6165 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/0.9674, allocations: 1.037 MB / 0.6175 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009359/0.9768, allocations: 1.345 MB / 0.6188 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.9827, allocations: 2.466 MB / 0.6212 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009126/0.9919, allocations: 319.8 kB / 0.6215 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002281/0.9942, allocations: 340 kB / 0.6218 GB, free: 3.457 MB / 494.1 MB 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.01128/1.006, allocations: 2.273 MB / 0.6241 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/1.007, allocations: 288.3 kB / 0.6243 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3441/1.352, allocations: 5.069 MB / 0.6293 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.018e-05/1.352, allocations: 48.97 kB / 0.6293 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.352, allocations: 4.906 kB / 0.6293 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/1.352, allocations: 9.609 kB / 0.6293 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.372, allocations: 11.59 MB / 0.6407 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.372, allocations: 5.969 kB / 0.6407 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.373, allocations: 425.5 kB / 0.6411 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/1.376, allocations: 0.9128 MB / 0.642 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.377, allocations: 61.03 kB / 0.642 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.379, allocations: 2.273 MB / 0.6442 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.379, allocations: 12.56 kB / 0.6443 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.39, allocations: 7.523 MB / 0.6516 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.392, allocations: 329.8 kB / 0.6519 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/1.392, allocations: 59.39 kB / 0.652 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.393, allocations: 138 kB / 0.6521 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/1.394, allocations: 159.1 kB / 0.6523 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.394, allocations: 72.84 kB / 0.6523 GB, free: 138.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00289/1.397, allocations: 1.747 MB / 0.654 GB, free: 137.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.397, allocations: 3.719 kB / 0.654 GB, free: 137.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005826/1.403, allocations: 1.012 MB / 0.655 GB, free: 137.6 MB / 494.1 MB 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.0006063/1.403, allocations: 197.4 kB / 0.6552 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/1.415, allocations: 6.207 MB / 0.6613 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.416, allocations: 1.281 kB / 0.6613 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005231/1.421, allocations: 2.61 MB / 0.6638 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/1.424, allocations: 430.6 kB / 0.6642 GB, free: 134.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/1.449, allocations: 13.27 MB / 0.6772 GB, free: 127.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/1.454, allocations: 3.507 MB / 0.6806 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004744/1.459, allocations: 2.09 MB / 0.6827 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/1.459, allocations: 246.5 kB / 0.6829 GB, free: 123.3 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/1.459, allocations: 0 / 0.6829 GB, free: 123.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06484/1.524, allocations: 32.82 MB / 0.7149 GB, free: 92.14 MB / 494.1 MB 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)