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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001486/0.001486, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.378/1.378, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001664/0.001664, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2394/0.2394, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.805e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.07914, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.439, allocations: 91.16 MB / 496.9 MB, free: 18.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4393, allocations: 74.48 kB / 496.9 MB, free: 18.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2172/0.6566, allocations: 90.98 MB / 0.5741 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6566, allocations: 0 / 0.5741 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.6568, allocations: 84 kB / 0.5742 GB, free: 13.15 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.012/0.6688, allocations: 4.302 MB / 0.5784 GB, free: 8.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6688, allocations: 12.03 kB / 0.5784 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.6837, allocations: 3.578 MB / 0.5819 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.6966, allocations: 4.694 MB / 0.5865 GB, free: 440 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.6971, allocations: 336.8 kB / 0.5868 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.6999, allocations: 443.9 kB / 0.5873 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/0.7242, allocations: 11.39 MB / 0.5984 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.7244, allocations: 31.66 kB / 0.5984 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007252/0.7251, allocations: 203.9 kB / 0.5986 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001572/0.7267, allocations: 1.255 MB / 0.5998 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.7487, allocations: 10.94 MB / 0.6105 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2714/1.02, allocations: 38.03 MB / 0.6476 GB, free: 73.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/1.028, allocations: 4.658 MB / 0.6522 GB, free: 72.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/1.03, allocations: 2.217 MB / 0.6544 GB, free: 72.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.031, allocations: 1.324 MB / 0.6557 GB, free: 71.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.031, allocations: 52.91 kB / 0.6557 GB, free: 71.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 5.641e-06/1.031, allocations: 3.5 kB / 0.6557 GB, free: 71.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.02895/1.06, allocations: 11.27 MB / 0.6667 GB, free: 70.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.06, allocations: 71.62 kB / 0.6668 GB, free: 70.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.063, allocations: 2.477 MB / 0.6692 GB, free: 70.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.063, allocations: 61.33 kB / 0.6693 GB, free: 70.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.065, allocations: 2.955 MB / 0.6721 GB, free: 68.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/1.065, allocations: 0.9435 MB / 0.6731 GB, free: 67.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.066, allocations: 112.8 kB / 0.6732 GB, free: 67.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/1.066, allocations: 0.5568 MB / 0.6737 GB, free: 67.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/1.068, allocations: 2.223 MB / 0.6759 GB, free: 67.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/1.072, allocations: 5.367 MB / 0.6811 GB, free: 62.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/1.076, allocations: 3.508 MB / 0.6846 GB, free: 61.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.414e-05/1.076, allocations: 33 kB / 0.6846 GB, free: 61.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01275/1.089, allocations: 8.289 MB / 0.6927 GB, free: 58.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/1.089, allocations: 58.83 kB / 0.6927 GB, free: 58.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.089, allocations: 111.1 kB / 0.6928 GB, free: 58.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/1.093, allocations: 1.031 MB / 0.6938 GB, free: 58.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.097, allocations: 1.312 MB / 0.6951 GB, free: 58.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.099, allocations: 2.47 MB / 0.6975 GB, free: 57.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/1.102, allocations: 310.8 kB / 0.6978 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/1.103, allocations: 335.3 kB / 0.6982 GB, free: 56.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * Number of states: 0 () * Number of discrete variables: 21 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 701 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007121/1.103, allocations: 0.5125 MB / 0.6987 GB, free: 56.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/1.104, allocations: 288.4 kB / 0.6989 GB, free: 56.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/1.112, allocations: 4.862 MB / 0.7037 GB, free: 54.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/1.112, allocations: 46.84 kB / 0.7037 GB, free: 54.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.112, allocations: 0 / 0.7037 GB, free: 54.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/1.112, allocations: 10.83 kB / 0.7037 GB, free: 54.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.13, allocations: 11.46 MB / 0.7149 GB, free: 46.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.13, allocations: 8 kB / 0.7149 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.131, allocations: 415 kB / 0.7153 GB, free: 46.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/1.134, allocations: 0.6137 MB / 0.7159 GB, free: 46.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.134, allocations: 52.31 kB / 0.716 GB, free: 46.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/1.136, allocations: 2.074 MB / 0.718 GB, free: 44.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.136, allocations: 15.94 kB / 0.718 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009209/1.145, allocations: 7.657 MB / 0.7255 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/1.146, allocations: 333.2 kB / 0.7258 GB, free: 36.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/1.146, allocations: 52.64 kB / 0.7259 GB, free: 36.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.147, allocations: 122.8 kB / 0.726 GB, free: 36.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.148, allocations: 164.5 kB / 0.7261 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.148, allocations: 73.42 kB / 0.7262 GB, free: 36.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002165/1.15, allocations: 1.685 MB / 0.7279 GB, free: 34.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.15, allocations: 0 / 0.7279 GB, free: 34.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003817/1.154, allocations: 0.9969 MB / 0.7288 GB, free: 33.85 MB / 426.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004628/1.154, allocations: 192.9 kB / 0.729 GB, free: 33.66 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1987:5-1989:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1984:5-1986:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.008159/1.162, allocations: 5.891 MB / 0.7348 GB, free: 28.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.163, allocations: 4.125 kB / 0.7348 GB, free: 28.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003254/1.166, allocations: 2.352 MB / 0.7371 GB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.168, allocations: 403.4 kB / 0.7375 GB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.182, allocations: 9.241 MB / 0.7465 GB, free: 17.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/1.186, allocations: 3.597 MB / 0.75 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004293/1.19, allocations: 2.073 MB / 0.752 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/1.191, allocations: 231 kB / 0.7522 GB, free: 13.19 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.191, allocations: 0 / 0.7522 GB, free: 13.19 MB / 426.7 MB Notification: Performance of Templates: time 0.05293/1.244, allocations: 30.7 MB / 0.7822 GB, free: 192 kB / 442.7 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)