Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008449/0.008448, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001616/0.001616, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.567/1.567, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.392/0.392, allocations: 39.94 MB / 309.8 MB, free: 9.645 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.00187/0.00187, allocations: 71.89 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4827, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01795/0.5008, allocations: 13.19 MB / 0.494 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.5142, allocations: 4.169 MB / 0.4981 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/0.5186, allocations: 70.12 kB / 0.4981 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.5233, allocations: 1.861 MB / 0.4999 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006916/0.5303, allocations: 1.866 MB / 0.5018 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.5322, allocations: 0.5049 MB / 0.5023 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007189/0.5394, allocations: 3.921 MB / 0.5061 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.544, allocations: 2.902 MB / 0.5089 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.5477, allocations: 1.412 MB / 0.5103 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.5524, allocations: 1.977 MB / 0.5122 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.554, allocations: 304.2 kB / 0.5125 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.5581, allocations: 1.137 MB / 0.5136 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003305/0.5615, allocations: 1.871 MB / 0.5155 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004291/0.5658, allocations: 2.217 MB / 0.5176 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.5785, allocations: 7.396 MB / 0.5249 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.5786, allocations: 0 / 0.5249 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5786, allocations: 4 kB / 0.5249 GB, free: 3.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002816/0.5789, allocations: 0 / 0.5249 GB, free: 3.418 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01743/0.5964, allocations: 4.923 MB / 0.5297 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.5965, allocations: 11.89 kB / 0.5297 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.6078, allocations: 3.145 MB / 0.5327 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00699/0.6148, allocations: 2.192 MB / 0.5349 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.6151, allocations: 222 kB / 0.5351 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.6162, allocations: 303.8 kB / 0.5354 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.6374, allocations: 11.91 MB / 0.547 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.6375, allocations: 27.72 kB / 0.547 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/0.638, allocations: 135.8 kB / 0.5472 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004232/0.6422, allocations: 2.707 MB / 0.5498 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.6657, allocations: 11.1 MB / 0.5607 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/0.7246, allocations: 36.9 MB / 0.5967 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008508/0.7331, allocations: 4.708 MB / 0.6013 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.7362, allocations: 2.248 MB / 0.6035 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.7376, allocations: 1.319 MB / 0.6048 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.7376, allocations: 48.56 kB / 0.6048 GB, free: 15.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 5.16e-06/0.7376, allocations: 0 / 0.6048 GB, free: 15.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=256): time 0.03911/0.7768, allocations: 13.54 MB / 0.618 GB, free: 2.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.7769, allocations: 73.41 kB / 0.6181 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.7816, allocations: 2.836 MB / 0.6209 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003577/0.7819, allocations: 53.7 kB / 0.6209 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.7842, allocations: 2.976 MB / 0.6238 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.7854, allocations: 0.9366 MB / 0.6248 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.787, allocations: 1.147 MB / 0.6259 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7871, allocations: 309.1 kB / 0.6262 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.7904, allocations: 2.307 MB / 0.6284 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005687/0.7961, allocations: 5.486 MB / 0.6338 GB, free: 252 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.424/1.22, allocations: 8.537 MB / 0.6421 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/1.22, allocations: 32 kB / 0.6421 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02171/1.242, allocations: 8.475 MB / 0.6504 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.242, allocations: 52.66 kB / 0.6505 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/1.243, allocations: 109.9 kB / 0.6506 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/1.247, allocations: 1.023 MB / 0.6516 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/1.253, allocations: 1.325 MB / 0.6529 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/1.256, allocations: 2.619 MB / 0.6554 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/1.261, allocations: 309.4 kB / 0.6557 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.263, allocations: 342.3 kB / 0.656 GB, free: 109.8 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 (718): * Single equations (assignments): 709 * 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 {(3,100.0%), (2,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.005035/1.268, allocations: 2.273 MB / 0.6583 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008034/1.268, allocations: 290.1 kB / 0.6585 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009777/1.278, allocations: 4.917 MB / 0.6633 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.119e-05/1.278, allocations: 48.67 kB / 0.6634 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.278, allocations: 1.188 kB / 0.6634 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.278, allocations: 11.59 kB / 0.6634 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.301, allocations: 11.45 MB / 0.6746 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.301, allocations: 7.75 kB / 0.6746 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.303, allocations: 415 kB / 0.675 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.305, allocations: 0.609 MB / 0.6756 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/1.306, allocations: 59.25 kB / 0.6756 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.308, allocations: 2.208 MB / 0.6778 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/1.308, allocations: 15.31 kB / 0.6778 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009765/1.318, allocations: 6.963 MB / 0.6846 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.319, allocations: 337.8 kB / 0.6849 GB, free: 95.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.319, allocations: 54.36 kB / 0.685 GB, free: 94.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.32, allocations: 131.2 kB / 0.6851 GB, free: 94.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/1.32, allocations: 157.6 kB / 0.6853 GB, free: 94.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.321, allocations: 75.98 kB / 0.6853 GB, free: 94.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002359/1.323, allocations: 1.742 MB / 0.687 GB, free: 92.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.323, allocations: 0.5469 kB / 0.687 GB, free: 92.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005232/1.328, allocations: 0.9958 MB / 0.688 GB, free: 91.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_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 (207): * Single equations (assignments): 198 * 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.000495/1.329, allocations: 200.4 kB / 0.6882 GB, free: 91.68 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.00914/1.338, allocations: 6.058 MB / 0.6941 GB, free: 85.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-05/1.338, allocations: 5.938 kB / 0.6941 GB, free: 85.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003856/1.342, allocations: 2.393 MB / 0.6965 GB, free: 83.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.344, allocations: 454.3 kB / 0.6969 GB, free: 82.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.362, allocations: 10.79 MB / 0.7074 GB, free: 71.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/1.365, allocations: 3.516 MB / 0.7109 GB, free: 68.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003724/1.369, allocations: 2.069 MB / 0.7129 GB, free: 66.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/1.369, allocations: 235.4 kB / 0.7131 GB, free: 65.92 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/1.369, allocations: 0 / 0.7131 GB, free: 65.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.05311/1.423, allocations: 30.24 MB / 0.7426 GB, free: 35.82 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)