Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.602/1.602, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.3503/0.3503, allocations: 37.99 MB / 307.8 MB, free: 10.01 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.001605/0.001605, allocations: 72.52 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 56.46 MB / 431.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01666/0.172, allocations: 13.18 MB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1834, allocations: 4.18 MB / 449.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.1864, allocations: 71.81 kB / 449.1 MB, free: 5.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.1905, allocations: 1.849 MB / 451 MB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.1973, allocations: 1.864 MB / 452.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.1994, allocations: 0.5107 MB / 453.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3677/0.5671, allocations: 3.912 MB / 457.3 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004766/0.572, allocations: 2.902 MB / 460.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.5762, allocations: 1.406 MB / 461.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.5797, allocations: 1.972 MB / 463.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009934/0.5808, allocations: 305.2 kB / 463.9 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.5836, allocations: 1.139 MB / 465 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.5861, allocations: 1.871 MB / 466.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.5915, allocations: 2.206 MB / 469.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.6028, allocations: 7.088 MB / 476.2 MB, free: 31.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.802e-05/0.6029, allocations: 3.344 kB / 476.2 MB, free: 31.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.6029, allocations: 3.75 kB / 476.2 MB, free: 31.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004675/0.6034, allocations: 0 / 476.2 MB, free: 31.44 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.02203/0.6254, allocations: 4.927 MB / 481.1 MB, free: 28.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.6255, allocations: 13.61 kB / 481.1 MB, free: 28.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.64, allocations: 3.15 MB / 484.3 MB, free: 28.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008121/0.6481, allocations: 2.158 MB / 486.4 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005477/0.6487, allocations: 229 kB / 486.6 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/0.6518, allocations: 298.2 kB / 486.9 MB, free: 27.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03937/0.6912, allocations: 11.91 MB / 498.8 MB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/0.6917, allocations: 25.41 kB / 498.9 MB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002537/0.6943, allocations: 138.1 kB / 499 MB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006925/0.7012, allocations: 2.706 MB / 0.4899 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.7302, allocations: 11.09 MB / 0.5008 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07544/0.8057, allocations: 37.13 MB / 0.537 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.8175, allocations: 4.699 MB / 0.5416 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/0.8221, allocations: 2.246 MB / 0.5438 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.8237, allocations: 1.322 MB / 0.5451 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.8238, allocations: 52.56 kB / 0.5452 GB, free: 4.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=244): time 8.917e-06/0.8239, allocations: 0 / 0.5452 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.04592/0.8698, allocations: 13.54 MB / 0.5584 GB, free: 6.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.8699, allocations: 74.62 kB / 0.5585 GB, free: 6.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007019/0.877, allocations: 2.84 MB / 0.5612 GB, free: 3.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003732/0.8774, allocations: 65.53 kB / 0.5613 GB, free: 3.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/0.8805, allocations: 2.958 MB / 0.5642 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.8821, allocations: 0.9428 MB / 0.5651 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003913/0.886, allocations: 1.153 MB / 0.5662 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.8862, allocations: 305.1 kB / 0.5665 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/0.8908, allocations: 2.307 MB / 0.5688 GB, free: 11.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00831/0.8991, allocations: 5.487 MB / 0.5741 GB, free: 4.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/0.9131, allocations: 8.546 MB / 0.5825 GB, free: 10.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/0.9133, allocations: 36 kB / 0.5825 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02247/0.9358, allocations: 8.478 MB / 0.5908 GB, free: 2.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.9361, allocations: 52 kB / 0.5908 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/0.9364, allocations: 112 kB / 0.591 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.9407, allocations: 1.017 MB / 0.5919 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005825/0.9465, allocations: 1.326 MB / 0.5932 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.9502, allocations: 2.623 MB / 0.5958 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/0.9557, allocations: 310.8 kB / 0.5961 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/0.9572, allocations: 328 kB / 0.5964 GB, free: 12.52 MB / 478.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 (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.00734/0.9645, allocations: 2.272 MB / 0.5986 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009481/0.9655, allocations: 292.3 kB / 0.5989 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9766, allocations: 4.919 MB / 0.6037 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.393e-05/0.9767, allocations: 47.98 kB / 0.6038 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.9767, allocations: 4 kB / 0.6038 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.9768, allocations: 11.95 kB / 0.6038 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/1.006, allocations: 11.47 MB / 0.615 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/1.006, allocations: 12 kB / 0.615 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.008, allocations: 415.3 kB / 0.6154 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/1.011, allocations: 0.6153 MB / 0.616 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/1.012, allocations: 55.98 kB / 0.616 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.015, allocations: 2.199 MB / 0.6182 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.015, allocations: 11.94 kB / 0.6182 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3452/1.36, allocations: 6.969 MB / 0.625 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.361, allocations: 330.2 kB / 0.6253 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007244/1.362, allocations: 50.08 kB / 0.6254 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.363, allocations: 133.1 kB / 0.6255 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/1.364, allocations: 159.8 kB / 0.6256 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/1.364, allocations: 73.94 kB / 0.6257 GB, free: 145.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003109/1.367, allocations: 1.745 MB / 0.6274 GB, free: 145.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.834e-06/1.367, allocations: 0 / 0.6274 GB, free: 145.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005442/1.372, allocations: 0.9954 MB / 0.6284 GB, free: 145.3 MB / 494.1 MB 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.0007087/1.373, allocations: 194 kB / 0.6286 GB, free: 145.2 MB / 494.1 MB [/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.01741/1.39, allocations: 9.769 MB / 0.6381 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.487e-05/1.391, allocations: 2.844 kB / 0.6381 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004176/1.395, allocations: 2.399 MB / 0.6405 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.398, allocations: 468 kB / 0.6409 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.419, allocations: 10.9 MB / 0.6516 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005676/1.425, allocations: 3.519 MB / 0.655 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006388/1.431, allocations: 2.074 MB / 0.657 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/1.432, allocations: 230.2 kB / 0.6572 GB, free: 136 MB / 494.1 MB Notification: Performance of SimCode: time 3.717e-06/1.432, allocations: 0 / 0.6572 GB, free: 136 MB / 494.1 MB Notification: Performance of Templates: time 0.06936/1.501, allocations: 32.97 MB / 0.6894 GB, free: 118.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)