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.0008529/0.000853, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005125/0.005125, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.449/1.449, allocations: 205.4 MB / 222.4 MB, free: 5.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.3328/0.3328, allocations: 38.04 MB / 308.8 MB, free: 10.32 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.0005297/0.0005298, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.2338/0.3497, allocations: 33.05 MB / 467.6 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.3693, allocations: 7.649 MB / 475.3 MB, free: 32.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008976/0.3783, allocations: 141.6 kB / 475.4 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3802, allocations: 0.4977 MB / 475.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005936/0.3862, allocations: 1.763 MB / 477.7 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3877, allocations: 468 kB / 478.1 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00792/0.3956, allocations: 5.591 MB / 483.7 MB, free: 29.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007462/0.4031, allocations: 3.801 MB / 487.5 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.4065, allocations: 1.057 MB / 488.6 MB, free: 28.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.4099, allocations: 1.877 MB / 490.5 MB, free: 27.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.4105, allocations: 147.2 kB / 490.6 MB, free: 27.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.4126, allocations: 1.077 MB / 491.7 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.4142, allocations: 1.707 MB / 493.4 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.4163, allocations: 2.038 MB / 495.4 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4285, allocations: 6.825 MB / 0.4905 GB, free: 23.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4285, allocations: 4 kB / 0.4905 GB, free: 23.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4285, allocations: 0 / 0.4905 GB, free: 23.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003067/0.4288, allocations: 0 / 0.4905 GB, free: 23.48 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.01243/0.4413, allocations: 4.047 MB / 0.4944 GB, free: 21.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4413, allocations: 13 kB / 0.4944 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.4532, allocations: 3.241 MB / 0.4976 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005668/0.4589, allocations: 2.166 MB / 0.4997 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.4592, allocations: 226.3 kB / 0.4999 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.4606, allocations: 294.9 kB / 0.5002 GB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.481, allocations: 11.92 MB / 0.5119 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-05/0.4812, allocations: 22.34 kB / 0.5119 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/0.4816, allocations: 139.1 kB / 0.512 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/0.4855, allocations: 2.712 MB / 0.5147 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.5075, allocations: 11.11 MB / 0.5255 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06186/0.5694, allocations: 37.13 MB / 0.5618 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.5782, allocations: 4.701 MB / 0.5664 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/0.5813, allocations: 2.252 MB / 0.5686 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.5825, allocations: 1.315 MB / 0.5698 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5826, allocations: 60.58 kB / 0.5699 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 7.234e-06/0.5826, allocations: 0 / 0.5699 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.03976/0.6223, allocations: 13.53 MB / 0.5831 GB, free: 2.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.6224, allocations: 77.34 kB / 0.5832 GB, free: 2.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.6279, allocations: 2.836 MB / 0.586 GB, free: 15.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005305/0.6285, allocations: 65.69 kB / 0.586 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/0.631, allocations: 2.969 MB / 0.5889 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001702/0.6327, allocations: 0.9366 MB / 0.5898 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.6344, allocations: 0.4991 MB / 0.5903 GB, free: 10.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6346, allocations: 309.1 kB / 0.5906 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00498/0.6396, allocations: 2.307 MB / 0.5929 GB, free: 8.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007262/0.6469, allocations: 5.482 MB / 0.5982 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.6578, allocations: 8.546 MB / 0.6066 GB, free: 6.879 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.6579, allocations: 32 kB / 0.6066 GB, free: 6.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01741/0.6753, allocations: 8.482 MB / 0.6149 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.6755, allocations: 52 kB / 0.6149 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.6756, allocations: 108.8 kB / 0.615 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.6793, allocations: 1.021 MB / 0.616 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004769/0.6841, allocations: 1.326 MB / 0.6173 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.687, allocations: 2.486 MB / 0.6198 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/0.6912, allocations: 315.7 kB / 0.6201 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.6924, allocations: 332 kB / 0.6204 GB, free: 8.582 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 (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.00546/0.6979, allocations: 2.285 MB / 0.6226 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/0.6985, allocations: 280.3 kB / 0.6229 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009167/0.7076, allocations: 4.912 MB / 0.6277 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/0.7077, allocations: 51.92 kB / 0.6277 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7077, allocations: 0 / 0.6277 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.7078, allocations: 11.97 kB / 0.6277 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2426/0.9503, allocations: 11.47 MB / 0.6389 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.9504, allocations: 9.688 kB / 0.6389 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.9521, allocations: 408.9 kB / 0.6393 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.9549, allocations: 0.6222 MB / 0.6399 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.9553, allocations: 56.06 kB / 0.64 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.9573, allocations: 2.05 MB / 0.642 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9573, allocations: 15.72 kB / 0.642 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.9678, allocations: 6.986 MB / 0.6488 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.9691, allocations: 334 kB / 0.6491 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.9695, allocations: 52.62 kB / 0.6492 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.9708, allocations: 129.9 kB / 0.6493 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.9711, allocations: 159.9 kB / 0.6495 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.9712, allocations: 72.19 kB / 0.6495 GB, free: 139.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.9738, allocations: 1.748 MB / 0.6513 GB, free: 139.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9738, allocations: 0 / 0.6513 GB, free: 139.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004305/0.9781, allocations: 0.9949 MB / 0.6522 GB, free: 139.2 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.0004848/0.9786, allocations: 199.6 kB / 0.6524 GB, free: 139 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.00955/0.9882, allocations: 6.011 MB / 0.6583 GB, free: 137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.9882, allocations: 1.469 kB / 0.6583 GB, free: 137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/0.9922, allocations: 2.382 MB / 0.6606 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005426/0.9977, allocations: 431.7 kB / 0.661 GB, free: 135.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.02, allocations: 13.42 MB / 0.6741 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/1.024, allocations: 3.523 MB / 0.6776 GB, free: 127.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004618/1.028, allocations: 2.076 MB / 0.6796 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009075/1.029, allocations: 232.8 kB / 0.6798 GB, free: 127 MB / 494.1 MB Notification: Performance of SimCode: time 1.963e-06/1.029, allocations: 0 / 0.6798 GB, free: 127 MB / 494.1 MB Notification: Performance of Templates: time 0.05391/1.083, allocations: 31.43 MB / 0.7105 GB, free: 100.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: