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.001009/0.001009, allocations: 100 kB / 15.05 MB, free: 1.105 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.001038/0.001038, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4293/0.4293, allocations: 38.02 MB / 308.4 MB, free: 10.41 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.0006223/0.0006223, allocations: 20 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1543, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.3455/0.4999, allocations: 29.17 MB / 463.1 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.5211, allocations: 7.514 MB / 470.6 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008683/0.5298, allocations: 139.6 kB / 470.8 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006537/0.5364, allocations: 1.483 MB / 472.2 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01847/0.5549, allocations: 4.43 MB / 476.7 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.5575, allocations: 407.8 kB / 477.1 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005762/0.5633, allocations: 2.135 MB / 479.2 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006799/0.5701, allocations: 3.351 MB / 482.6 MB, free: 30.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.5728, allocations: 0.9486 MB / 483.5 MB, free: 29.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.5752, allocations: 1.298 MB / 484.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006057/0.5758, allocations: 145.8 kB / 484.9 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.5778, allocations: 0.8466 MB / 485.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.5792, allocations: 1.545 MB / 487.3 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008861/0.5801, allocations: 0.8519 MB / 488.2 MB, free: 28.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009101/0.5892, allocations: 5.647 MB / 493.8 MB, free: 27.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5893, allocations: 4 kB / 493.8 MB, free: 27.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.409e-06/0.5893, allocations: 3.938 kB / 493.8 MB, free: 27.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003602/0.5897, allocations: 2.938 kB / 493.8 MB, free: 27.23 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.0149/0.6046, allocations: 4.166 MB / 498 MB, free: 25.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6046, allocations: 9.125 kB / 498 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.6195, allocations: 3.81 MB / 0.4901 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008234/0.6278, allocations: 2.338 MB / 0.4923 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.6282, allocations: 228.8 kB / 0.4926 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.6303, allocations: 287.2 kB / 0.4928 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0312/0.6615, allocations: 11.98 MB / 0.5045 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.6618, allocations: 34.86 kB / 0.5046 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/0.6638, allocations: 138.4 kB / 0.5047 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006357/0.6701, allocations: 2.714 MB / 0.5073 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.6969, allocations: 11.14 MB / 0.5182 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08065/0.7776, allocations: 37.23 MB / 0.5546 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.7884, allocations: 4.692 MB / 0.5592 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/0.7901, allocations: 1.319 MB / 0.5605 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.7901, allocations: 56.5 kB / 0.5605 GB, free: 8.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 8.055e-06/0.7902, allocations: 0 / 0.5605 GB, free: 8.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.04565/0.8358, allocations: 14.09 MB / 0.5743 GB, free: 10.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.8359, allocations: 73.41 kB / 0.5743 GB, free: 10.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007535/0.8435, allocations: 2.946 MB / 0.5772 GB, free: 7.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008283/0.8443, allocations: 61.69 kB / 0.5773 GB, free: 7.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002954/0.8473, allocations: 2.961 MB / 0.5802 GB, free: 4.242 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/0.8492, allocations: 0.9443 MB / 0.5811 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.8503, allocations: 112 kB / 0.5812 GB, free: 3.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.001053/0.8514, allocations: 0.5501 MB / 0.5817 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/0.8571, allocations: 2.28 MB / 0.584 GB, free: 340 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009983/0.8671, allocations: 5.435 MB / 0.5893 GB, free: 9.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008283/0.8754, allocations: 3.525 MB / 0.5927 GB, free: 5.828 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001446/0.8756, allocations: 32 kB / 0.5927 GB, free: 5.797 MB / 462.1 MB Notification: Performance of matching and sorting (n=767) (initialization): time 0.02454/0.9001, allocations: 8.405 MB / 0.6009 GB, free: 13.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.9004, allocations: 52 kB / 0.601 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003277/0.9007, allocations: 116.1 kB / 0.6011 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004346/0.9051, allocations: 1.036 MB / 0.6021 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/0.9112, allocations: 1.314 MB / 0.6034 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.9155, allocations: 2.517 MB / 0.6059 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/0.9209, allocations: 315.7 kB / 0.6062 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/0.9225, allocations: 328 kB / 0.6065 GB, free: 7.555 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 (714): * Single equations (assignments): 705 * 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.007771/0.9303, allocations: 2.283 MB / 0.6087 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.9314, allocations: 280.3 kB / 0.609 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.946, allocations: 4.909 MB / 0.6138 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/0.9461, allocations: 40.05 kB / 0.6138 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/0.9461, allocations: 7.953 kB / 0.6138 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/0.9463, allocations: 16.14 kB / 0.6138 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/0.9773, allocations: 11.46 MB / 0.625 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.9774, allocations: 8 kB / 0.625 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.9794, allocations: 411.3 kB / 0.6254 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003023/0.9824, allocations: 0.6188 MB / 0.626 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004704/0.9829, allocations: 63.91 kB / 0.6261 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.986, allocations: 2.096 MB / 0.6281 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/0.986, allocations: 11.94 kB / 0.6281 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3363/1.322, allocations: 7.729 MB / 0.6357 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.324, allocations: 337.2 kB / 0.636 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/1.325, allocations: 51.81 kB / 0.6361 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.326, allocations: 131.8 kB / 0.6362 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/1.326, allocations: 156 kB / 0.6363 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.326, allocations: 79.55 kB / 0.6364 GB, free: 142.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003195/1.33, allocations: 1.807 MB / 0.6382 GB, free: 142.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.33, allocations: 0 / 0.6382 GB, free: 142.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006017/1.336, allocations: 1.015 MB / 0.6392 GB, free: 142.5 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 (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.0008249/1.337, allocations: 213.3 kB / 0.6394 GB, free: 142.4 MB / 494.1 MB [/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. [/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. Notification: Performance of simCode: created initialization part: time 0.011/1.348, allocations: 5.963 MB / 0.6452 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/1.348, allocations: 0 / 0.6452 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004872/1.353, allocations: 2.379 MB / 0.6475 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.355, allocations: 394.4 kB / 0.6479 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/1.38, allocations: 12.94 MB / 0.6605 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/1.385, allocations: 3.611 MB / 0.664 GB, free: 131.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005843/1.391, allocations: 2.081 MB / 0.6661 GB, free: 131 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/1.392, allocations: 233.4 kB / 0.6663 GB, free: 130.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.254e-06/1.392, allocations: 0 / 0.6663 GB, free: 130.9 MB / 494.1 MB Notification: Performance of Templates: time 0.0666/1.458, allocations: 31.3 MB / 0.6969 GB, free: 113.9 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: