Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, 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.001437/0.001437, 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.33/0.33, allocations: 39.99 MB / 310.4 MB, free: 9.941 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.0005185/0.0005186, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 57.96 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.2102/0.3168, allocations: 36.32 MB / 473.1 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.3339, allocations: 9.034 MB / 482.1 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008157/0.3421, allocations: 177.8 kB / 482.3 MB, free: 26.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006304/0.3484, allocations: 1.837 MB / 484.1 MB, free: 26.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01584/0.3643, allocations: 5.376 MB / 489.5 MB, free: 23.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3671, allocations: 497.6 kB / 490 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004351/0.3715, allocations: 2.358 MB / 492.4 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006425/0.3779, allocations: 4.326 MB / 496.7 MB, free: 20.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.38, allocations: 1.062 MB / 497.7 MB, free: 20.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.3827, allocations: 1.435 MB / 499.2 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.384, allocations: 166.4 kB / 499.3 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.3869, allocations: 0.89 MB / 0.4885 GB, free: 19.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003105/0.39, allocations: 1.721 MB / 0.4902 GB, free: 19.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.3921, allocations: 0.9469 MB / 0.4911 GB, free: 18.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008991/0.4011, allocations: 6.364 MB / 0.4973 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4011, allocations: 0 / 0.4973 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4011, allocations: 4 kB / 0.4973 GB, free: 16.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003304/0.4015, allocations: 0 / 0.4973 GB, free: 16.74 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.01266/0.4141, allocations: 4.588 MB / 0.5018 GB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4142, allocations: 12.84 kB / 0.5018 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.4279, allocations: 3.868 MB / 0.5056 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008297/0.4363, allocations: 2.544 MB / 0.5081 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.4367, allocations: 273.1 kB / 0.5083 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.4393, allocations: 365.2 kB / 0.5087 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/0.4671, allocations: 12.78 MB / 0.5212 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.4673, allocations: 27.72 kB / 0.5212 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/0.4689, allocations: 163.8 kB / 0.5214 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004728/0.4736, allocations: 2.766 MB / 0.5241 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/0.501, allocations: 11.7 MB / 0.5355 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07153/0.5726, allocations: 40.66 MB / 0.5752 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.584, allocations: 5.01 MB / 0.5801 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.5981, allocations: 6.918 MB / 0.5868 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5981, allocations: 48.56 kB / 0.5869 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 5.651e-06/0.5981, allocations: 0 / 0.5869 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=259): time 0.05459/0.6527, allocations: 19.95 MB / 0.6064 GB, free: 7.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.6529, allocations: 77.34 kB / 0.6064 GB, free: 7.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006395/0.6593, allocations: 3.324 MB / 0.6097 GB, free: 4.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004624/0.6598, allocations: 57.7 kB / 0.6097 GB, free: 4.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002688/0.6625, allocations: 3.313 MB / 0.613 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.6638, allocations: 0.9675 MB / 0.6139 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/0.6644, allocations: 120 kB / 0.614 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004799/0.6649, allocations: 0.5785 MB / 0.6146 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/0.6689, allocations: 2.48 MB / 0.617 GB, free: 12.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005796/0.6747, allocations: 5.859 MB / 0.6227 GB, free: 5.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.68, allocations: 3.802 MB / 0.6264 GB, free: 1.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.6802, allocations: 32 kB / 0.6265 GB, free: 1.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.2093/0.8895, allocations: 10.15 MB / 0.6364 GB, free: 140 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.8896, allocations: 55.59 kB / 0.6364 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/0.8899, allocations: 118.8 kB / 0.6366 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008426/0.8983, allocations: 2.387 MB / 0.6389 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/0.9029, allocations: 1.367 MB / 0.6402 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.9194, allocations: 11.16 MB / 0.6511 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004763/0.9242, allocations: 331.5 kB / 0.6514 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.9252, allocations: 361.5 kB / 0.6518 GB, free: 135.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.00539/0.9306, allocations: 2.448 MB / 0.6542 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.9315, allocations: 308.2 kB / 0.6545 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/0.94, allocations: 4.701 MB / 0.6591 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.9401, allocations: 44.19 kB / 0.6591 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-05/0.9401, allocations: 1.844 kB / 0.6591 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/0.9402, allocations: 10.73 kB / 0.6591 GB, free: 132.8 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/0.9646, allocations: 11.17 MB / 0.67 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.9647, allocations: 7.906 kB / 0.67 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.9665, allocations: 427.1 kB / 0.6704 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.9685, allocations: 0.6944 MB / 0.6711 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/0.9688, allocations: 61.31 kB / 0.6712 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.971, allocations: 2.439 MB / 0.6736 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9711, allocations: 7.844 kB / 0.6736 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009363/0.9804, allocations: 7.635 MB / 0.681 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.9815, allocations: 357.3 kB / 0.6814 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007513/0.9823, allocations: 50.55 kB / 0.6814 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.984, allocations: 149.7 kB / 0.6816 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.9844, allocations: 138.8 kB / 0.6817 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/0.9846, allocations: 73.94 kB / 0.6818 GB, free: 123.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003591/0.9882, allocations: 2.031 MB / 0.6837 GB, free: 122.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9882, allocations: 0 / 0.6837 GB, free: 122.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006404/0.9946, allocations: 1.159 MB / 0.6849 GB, free: 121.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * 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 (212): * Single equations (assignments): 203 * 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.0008023/0.9954, allocations: 214.2 kB / 0.6851 GB, free: 121 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 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 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:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009506/1.005, allocations: 6.216 MB / 0.6911 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.005, allocations: 0 / 0.6911 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.009, allocations: 2.546 MB / 0.6936 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.012, allocations: 423 kB / 0.694 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/1.033, allocations: 13.61 MB / 0.7073 GB, free: 99.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00464/1.037, allocations: 3.893 MB / 0.7111 GB, free: 95.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004615/1.042, allocations: 2.089 MB / 0.7132 GB, free: 93.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/1.043, allocations: 247.4 kB / 0.7134 GB, free: 93.02 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/1.043, allocations: 0 / 0.7134 GB, free: 93.02 MB / 494.1 MB Notification: Performance of Templates: time 0.06011/1.103, allocations: 40.06 MB / 0.7525 GB, free: 53.06 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) Environment - environmentSimulation: