Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007652/0.0007654, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008544/0.0008544, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.302/0.302, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.0005657/0.0005658, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1251, allocations: 57.53 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2728/0.398, allocations: 41.79 MB / 475.8 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4161, allocations: 9.358 MB / 485.1 MB, free: 25.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008515/0.4246, allocations: 195.4 kB / 485.3 MB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.4294, allocations: 1.759 MB / 487.1 MB, free: 24.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.4409, allocations: 5.091 MB / 492.2 MB, free: 22.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.4433, allocations: 457.9 kB / 492.6 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005351/0.4487, allocations: 4.52 MB / 497.1 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006242/0.455, allocations: 4.179 MB / 0.4896 GB, free: 19.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.4586, allocations: 1.193 MB / 0.4907 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/0.4637, allocations: 1.911 MB / 0.4926 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001411/0.4651, allocations: 154.2 kB / 0.4927 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.4687, allocations: 0.8765 MB / 0.4936 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003427/0.4722, allocations: 1.744 MB / 0.4953 GB, free: 17.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.4735, allocations: 0.8966 MB / 0.4962 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.4814, allocations: 6.034 MB / 0.5021 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4814, allocations: 1.594 kB / 0.5021 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4815, allocations: 0 / 0.5021 GB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002462/0.4817, allocations: 0 / 0.5021 GB, free: 14.7 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.009228/0.4909, allocations: 4.321 MB / 0.5063 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.491, allocations: 13.47 kB / 0.5063 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.5014, allocations: 3.26 MB / 0.5095 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.5061, allocations: 2.281 MB / 0.5117 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.5062, allocations: 251.8 kB / 0.5119 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006319/0.5069, allocations: 327.8 kB / 0.5123 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.5231, allocations: 11.87 MB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-05/0.5232, allocations: 39.55 kB / 0.5239 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.5237, allocations: 151.8 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.5278, allocations: 2.645 MB / 0.5266 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.547, allocations: 10.96 MB / 0.5373 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04952/0.5966, allocations: 37.54 MB / 0.574 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/0.6039, allocations: 4.405 MB / 0.5783 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.6066, allocations: 2.159 MB / 0.5804 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.6077, allocations: 1.311 MB / 0.5817 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.6077, allocations: 56.5 kB / 0.5817 GB, free: 3.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 4.228e-06/0.6077, allocations: 4 kB / 0.5817 GB, free: 3.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.0353/0.643, allocations: 13.87 MB / 0.5953 GB, free: 5.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.6431, allocations: 73.41 kB / 0.5953 GB, free: 5.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/0.6481, allocations: 2.973 MB / 0.5982 GB, free: 2.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003707/0.6485, allocations: 65.69 kB / 0.5983 GB, free: 2.168 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.6505, allocations: 3.104 MB / 0.6013 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.6515, allocations: 0.9751 MB / 0.6023 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.6518, allocations: 127.9 kB / 0.6024 GB, free: 13.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003374/0.6521, allocations: 0.5624 MB / 0.603 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.6554, allocations: 2.385 MB / 0.6053 GB, free: 10.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.6609, allocations: 5.682 MB / 0.6108 GB, free: 3.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/0.6658, allocations: 3.677 MB / 0.6144 GB, free: 15.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/0.6659, allocations: 32 kB / 0.6145 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01422/0.6801, allocations: 8.764 MB / 0.623 GB, free: 7.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.6802, allocations: 52 kB / 0.6231 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.6804, allocations: 116 kB / 0.6232 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.6834, allocations: 1.068 MB / 0.6242 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/0.6879, allocations: 1.376 MB / 0.6256 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.6906, allocations: 2.482 MB / 0.628 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.6943, allocations: 315.9 kB / 0.6283 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005665/0.6949, allocations: 352 kB / 0.6286 GB, free: 1.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * 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 prepare postOptimizeDAE: time 0.2359/0.9308, allocations: 2.367 MB / 0.6309 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/0.9316, allocations: 299.2 kB / 0.6312 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009167/0.9407, allocations: 5.088 MB / 0.6362 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/0.9408, allocations: 42.77 kB / 0.6362 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9408, allocations: 5.719 kB / 0.6362 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.9409, allocations: 11.53 kB / 0.6363 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.9593, allocations: 11.75 MB / 0.6477 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.9594, allocations: 7.656 kB / 0.6477 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.9609, allocations: 431.5 kB / 0.6482 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/0.9636, allocations: 0.9128 MB / 0.649 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.9637, allocations: 60.23 kB / 0.6491 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.9657, allocations: 2.264 MB / 0.6513 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.9658, allocations: 12.16 kB / 0.6513 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.9769, allocations: 7.525 MB / 0.6587 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.9777, allocations: 351.6 kB / 0.659 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.9781, allocations: 50.83 kB / 0.6591 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9793, allocations: 140.2 kB / 0.6592 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.9796, allocations: 156.5 kB / 0.6593 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.9798, allocations: 75.94 kB / 0.6594 GB, free: 110.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00296/0.9827, allocations: 1.806 MB / 0.6612 GB, free: 110.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9827, allocations: 0 / 0.6612 GB, free: 110.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005201/0.988, allocations: 1.041 MB / 0.6622 GB, free: 110.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * 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.0005055/0.9885, allocations: 202.3 kB / 0.6624 GB, free: 110.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01055/0.999, allocations: 6.241 MB / 0.6685 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.9991, allocations: 7.25 kB / 0.6685 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/1.004, allocations: 2.596 MB / 0.671 GB, free: 108.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.007, allocations: 0.494 MB / 0.6715 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.027, allocations: 13.56 MB / 0.6847 GB, free: 101.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.03, allocations: 3.657 MB / 0.6883 GB, free: 98.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004255/1.034, allocations: 2.154 MB / 0.6904 GB, free: 97.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.035, allocations: 242.2 kB / 0.6907 GB, free: 97.04 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/1.035, allocations: 0 / 0.6907 GB, free: 97.04 MB / 494.1 MB Notification: Performance of Templates: time 0.04746/1.083, allocations: 33.4 MB / 0.7233 GB, free: 64.15 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) Environment - environmentSimulation: