Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 97.64 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.00573/0.00573, allocations: 170.1 kB / 16.27 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.43/1.43, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.3/0.3, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005483/0.0005483, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1154, allocations: 57.53 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2454/0.3608, allocations: 41.21 MB / 475.8 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3835, allocations: 9.145 MB / 484.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008126/0.3917, allocations: 175 kB / 485.1 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3932, allocations: 0.5444 MB / 485.6 MB, free: 25.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.3972, allocations: 1.88 MB / 487.5 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3983, allocations: 0.5347 MB / 488 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.4037, allocations: 6.127 MB / 494.2 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006086/0.4098, allocations: 4.803 MB / 499 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.4119, allocations: 1.19 MB / 0.4884 GB, free: 20.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.4143, allocations: 2.075 MB / 0.4905 GB, free: 19.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.415, allocations: 165.3 kB / 0.4906 GB, free: 19.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.4175, allocations: 1.093 MB / 0.4917 GB, free: 19.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.4195, allocations: 1.897 MB / 0.4936 GB, free: 18.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.422, allocations: 2.267 MB / 0.4958 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4322, allocations: 7.613 MB / 0.5032 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4323, allocations: 0 / 0.5032 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.4323, allocations: 1.156 kB / 0.5032 GB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002586/0.4325, allocations: 4 kB / 0.5032 GB, free: 14.52 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01273/0.4453, allocations: 4.441 MB / 0.5075 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4454, allocations: 8.875 kB / 0.5075 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.4574, allocations: 3.291 MB / 0.5108 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006099/0.4636, allocations: 2.371 MB / 0.5131 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.4638, allocations: 269.1 kB / 0.5133 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.4652, allocations: 367.7 kB / 0.5137 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.487, allocations: 12.67 MB / 0.5261 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.4872, allocations: 27.72 kB / 0.5261 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/0.4878, allocations: 167.8 kB / 0.5262 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/0.4923, allocations: 2.766 MB / 0.5289 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/0.5154, allocations: 11.61 MB / 0.5403 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06321/0.5786, allocations: 40.48 MB / 0.5798 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.5897, allocations: 5.091 MB / 0.5848 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004156/0.5939, allocations: 2.405 MB / 0.5871 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.6044, allocations: 6.843 MB / 0.5938 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.6044, allocations: 52.56 kB / 0.5939 GB, free: 6.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.591e-06/0.6044, allocations: 0 / 0.5939 GB, free: 6.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.03828/0.6427, allocations: 16.48 MB / 0.61 GB, free: 6.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.6428, allocations: 73.41 kB / 0.61 GB, free: 6.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.6476, allocations: 3.214 MB / 0.6132 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003545/0.648, allocations: 57.7 kB / 0.6132 GB, free: 2.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.6503, allocations: 3.305 MB / 0.6165 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.6516, allocations: 0.9097 MB / 0.6173 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.6523, allocations: 0.535 MB / 0.6179 GB, free: 14.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.6524, allocations: 301.1 kB / 0.6182 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.656, allocations: 2.433 MB / 0.6205 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/0.6617, allocations: 5.835 MB / 0.6262 GB, free: 3.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2535/0.9153, allocations: 8.978 MB / 0.635 GB, free: 138.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.9155, allocations: 33.06 kB / 0.635 GB, free: 138.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01708/0.9326, allocations: 9.039 MB / 0.6439 GB, free: 136.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.9327, allocations: 57.41 kB / 0.6439 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.9328, allocations: 118.7 kB / 0.644 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/0.936, allocations: 1.131 MB / 0.6451 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/0.9405, allocations: 1.397 MB / 0.6465 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/0.9454, allocations: 4.591 MB / 0.651 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00538/0.9508, allocations: 324.3 kB / 0.6513 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/0.9521, allocations: 361.9 kB / 0.6516 GB, free: 133.9 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 (756): * Single equations (assignments): 748 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005247/0.9573, allocations: 2.432 MB / 0.654 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.9579, allocations: 304.2 kB / 0.6543 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007042/0.9649, allocations: 4.505 MB / 0.6587 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/0.965, allocations: 46.16 kB / 0.6587 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.965, allocations: 6.031 kB / 0.6587 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.9651, allocations: 10.22 kB / 0.6588 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.9843, allocations: 10.62 MB / 0.6691 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.9843, allocations: 4.906 kB / 0.6691 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.986, allocations: 395 kB / 0.6695 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.9881, allocations: 0.6787 MB / 0.6702 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.9883, allocations: 48.2 kB / 0.6702 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.9909, allocations: 2.426 MB / 0.6726 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.9909, allocations: 13.5 kB / 0.6726 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.001, allocations: 6.872 MB / 0.6793 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/1.002, allocations: 359.2 kB / 0.6797 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.003, allocations: 47.8 kB / 0.6797 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.004, allocations: 138.5 kB / 0.6798 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.005, allocations: 144.4 kB / 0.68 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.005, allocations: 70 kB / 0.68 GB, free: 123.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003058/1.008, allocations: 1.95 MB / 0.6819 GB, free: 122.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.008, allocations: 0 / 0.6819 GB, free: 122.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005196/1.013, allocations: 1.083 MB / 0.683 GB, free: 122.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[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 (197): * Single equations (assignments): 188 * 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.0004869/1.014, allocations: 185.9 kB / 0.6832 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008469/1.022, allocations: 5.918 MB / 0.689 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.022, allocations: 4 kB / 0.689 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/1.026, allocations: 2.435 MB / 0.6913 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.031, allocations: 467 kB / 0.6918 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.054, allocations: 14.13 MB / 0.7056 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/1.058, allocations: 3.758 MB / 0.7092 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004612/1.063, allocations: 2.061 MB / 0.7113 GB, free: 98.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/1.064, allocations: 243.4 kB / 0.7115 GB, free: 98.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/1.064, allocations: 0 / 0.7115 GB, free: 98.24 MB / 494.1 MB Notification: Performance of Templates: time 0.05614/1.12, allocations: 35.14 MB / 0.7458 GB, free: 63.22 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) Environment - environmentSimulation: