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.0007815/0.0007815, allocations: 91.77 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.00567/0.00567, allocations: 171.1 kB / 16.26 MB, free: 6.68 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.38/1.38, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3064/0.3064, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.0006526/0.0006526, allocations: 20 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2386/0.3545, allocations: 44.91 MB / 479.5 MB, free: 27.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.3759, allocations: 9.82 MB / 489.3 MB, free: 22.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008719/0.3846, allocations: 199.1 kB / 489.5 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.3862, allocations: 0.5667 MB / 490.1 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.3907, allocations: 1.802 MB / 491.9 MB, free: 21.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3918, allocations: 0.4927 MB / 492.4 MB, free: 21.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.3969, allocations: 5.894 MB / 498.3 MB, free: 19.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005464/0.4024, allocations: 4.697 MB / 0.4912 GB, free: 17.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.4041, allocations: 1.113 MB / 0.4922 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.4065, allocations: 1.959 MB / 0.4942 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.4069, allocations: 153.3 kB / 0.4943 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.4091, allocations: 1.044 MB / 0.4953 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.411, allocations: 1.802 MB / 0.4971 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.413, allocations: 2.14 MB / 0.4992 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009735/0.4227, allocations: 7.25 MB / 0.5063 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4227, allocations: 1.281 kB / 0.5063 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4228, allocations: 0 / 0.5063 GB, free: 11.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002272/0.423, allocations: 3.938 kB / 0.5063 GB, free: 11.89 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.0118/0.4348, allocations: 4.267 MB / 0.5104 GB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4349, allocations: 9.844 kB / 0.5104 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.4459, allocations: 3.263 MB / 0.5136 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.4513, allocations: 2.315 MB / 0.5159 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.4516, allocations: 247.8 kB / 0.5161 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009969/0.4526, allocations: 333.8 kB / 0.5164 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.471, allocations: 11.9 MB / 0.5281 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4712, allocations: 27.8 kB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004941/0.4717, allocations: 147.8 kB / 0.5282 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.476, allocations: 2.645 MB / 0.5308 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/0.5009, allocations: 11.01 MB / 0.5416 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06215/0.5631, allocations: 37.56 MB / 0.5782 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008718/0.5718, allocations: 4.413 MB / 0.5826 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.575, allocations: 2.17 MB / 0.5847 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.5761, allocations: 1.311 MB / 0.586 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.5762, allocations: 52.56 kB / 0.586 GB, free: 15.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 5.249e-06/0.5762, allocations: 0 / 0.586 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04147/0.6177, allocations: 13.91 MB / 0.5996 GB, free: 1.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.6178, allocations: 85.33 kB / 0.5997 GB, free: 1.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/0.6231, allocations: 2.993 MB / 0.6026 GB, free: 14.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000701/0.6239, allocations: 61.7 kB / 0.6027 GB, free: 14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.6262, allocations: 3.104 MB / 0.6057 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/0.6278, allocations: 0.9751 MB / 0.6066 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000692/0.6285, allocations: 0.5191 MB / 0.6071 GB, free: 9.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.6286, allocations: 305.1 kB / 0.6074 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/0.6324, allocations: 2.409 MB / 0.6098 GB, free: 6.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00648/0.6389, allocations: 5.698 MB / 0.6153 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.6503, allocations: 8.896 MB / 0.624 GB, free: 4.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-05/0.6505, allocations: 32 kB / 0.6241 GB, free: 4.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.2442/0.8947, allocations: 8.813 MB / 0.6327 GB, free: 141.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/0.8948, allocations: 55.09 kB / 0.6327 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.895, allocations: 116.8 kB / 0.6328 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/0.8985, allocations: 1.044 MB / 0.6339 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004818/0.9033, allocations: 1.38 MB / 0.6352 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.9057, allocations: 2.476 MB / 0.6376 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/0.9111, allocations: 324.3 kB / 0.6379 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008489/0.912, allocations: 347.2 kB / 0.6383 GB, free: 140.4 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 (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 prepare postOptimizeDAE: time 0.005229/0.9172, allocations: 2.373 MB / 0.6406 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.9178, allocations: 297.1 kB / 0.6409 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/0.9264, allocations: 5.101 MB / 0.6458 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.014e-05/0.9265, allocations: 47.64 kB / 0.6459 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.9265, allocations: 3.281 kB / 0.6459 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/0.9266, allocations: 10.22 kB / 0.6459 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/0.9467, allocations: 11.78 MB / 0.6574 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.9468, allocations: 11.75 kB / 0.6574 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.9486, allocations: 420.5 kB / 0.6578 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.9519, allocations: 0.9199 MB / 0.6587 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/0.9522, allocations: 53.48 kB / 0.6588 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.9545, allocations: 2.265 MB / 0.661 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.9545, allocations: 12.47 kB / 0.661 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.9681, allocations: 7.558 MB / 0.6684 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.9692, allocations: 352.1 kB / 0.6687 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/0.9696, allocations: 47.97 kB / 0.6688 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.971, allocations: 144 kB / 0.6689 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.9713, allocations: 162.8 kB / 0.6691 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.9715, allocations: 81.2 kB / 0.6691 GB, free: 130.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003055/0.9746, allocations: 1.836 MB / 0.6709 GB, free: 130.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9746, allocations: 0 / 0.6709 GB, free: 130.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006666/0.9812, allocations: 1.04 MB / 0.6719 GB, free: 130 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 (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.0007227/0.982, allocations: 197.1 kB / 0.6721 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00981/0.9918, allocations: 6.273 MB / 0.6783 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.9919, allocations: 3.969 kB / 0.6783 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.9965, allocations: 2.608 MB / 0.6808 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/1.002, allocations: 498.9 kB / 0.6813 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.021, allocations: 14.03 MB / 0.695 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/1.025, allocations: 3.663 MB / 0.6986 GB, free: 111.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0046/1.03, allocations: 2.15 MB / 0.7007 GB, free: 110 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/1.03, allocations: 250 kB / 0.7009 GB, free: 109.8 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/1.03, allocations: 4 kB / 0.7009 GB, free: 109.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05671/1.087, allocations: 34.21 MB / 0.7343 GB, free: 75.66 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: