Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001201/0.0012, allocations: 100.1 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.001524/0.001524, 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.481/1.481, 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.2+maint.om/package.mo): time 0.331/0.331, allocations: 40 MB / 310.4 MB, free: 9.676 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.0005599/0.00056, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 57.97 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2188/0.325, allocations: 39.58 MB / 476.4 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.3429, allocations: 9.735 MB / 486.1 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006193/0.3492, allocations: 195.1 kB / 486.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.3539, allocations: 2.012 MB / 488.3 MB, free: 23.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.3683, allocations: 5.873 MB / 494.2 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3708, allocations: 491.6 kB / 494.6 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005377/0.3762, allocations: 2.259 MB / 496.9 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006823/0.3831, allocations: 4.152 MB / 0.4893 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.386, allocations: 0.9835 MB / 0.4903 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.3893, allocations: 1.342 MB / 0.4916 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.3908, allocations: 153.7 kB / 0.4917 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.3942, allocations: 0.8553 MB / 0.4926 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.3971, allocations: 1.624 MB / 0.4941 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.3992, allocations: 0.8928 MB / 0.495 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008225/0.4074, allocations: 6.033 MB / 0.5009 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4074, allocations: 0 / 0.5009 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4075, allocations: 1.031 kB / 0.5009 GB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003306/0.4078, allocations: 0 / 0.5009 GB, free: 13.65 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.01089/0.4187, allocations: 4.4 MB / 0.5052 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4187, allocations: 9.531 kB / 0.5052 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.4319, allocations: 3.831 MB / 0.509 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008185/0.4402, allocations: 2.49 MB / 0.5114 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.4405, allocations: 247.8 kB / 0.5116 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.4427, allocations: 330.3 kB / 0.5119 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.4662, allocations: 11.94 MB / 0.5236 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-05/0.4663, allocations: 23.81 kB / 0.5236 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005002/0.4669, allocations: 147.8 kB / 0.5238 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004114/0.471, allocations: 2.645 MB / 0.5264 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.4908, allocations: 11.03 MB / 0.5371 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06156/0.5525, allocations: 37.65 MB / 0.5739 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007998/0.5605, allocations: 4.413 MB / 0.5782 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.5618, allocations: 1.311 MB / 0.5795 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.5619, allocations: 56.52 kB / 0.5795 GB, free: 3.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 6.041e-06/0.5619, allocations: 0 / 0.5795 GB, free: 3.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.04288/0.6048, allocations: 14.45 MB / 0.5936 GB, free: 4.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.6049, allocations: 73.41 kB / 0.5937 GB, free: 4.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005444/0.6103, allocations: 3.103 MB / 0.5967 GB, free: 1.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/0.6109, allocations: 53.7 kB / 0.5968 GB, free: 1.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.6132, allocations: 3.116 MB / 0.5998 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.6144, allocations: 0.9829 MB / 0.6008 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005708/0.615, allocations: 116 kB / 0.6009 GB, free: 13.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005586/0.6155, allocations: 0.5623 MB / 0.6015 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.6195, allocations: 2.374 MB / 0.6038 GB, free: 10.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.6255, allocations: 5.65 MB / 0.6093 GB, free: 3.109 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006017/0.6316, allocations: 3.669 MB / 0.6129 GB, free: 15.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.6317, allocations: 36 kB / 0.6129 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01625/0.648, allocations: 8.737 MB / 0.6214 GB, free: 6.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6481, allocations: 52 kB / 0.6215 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.6483, allocations: 124.1 kB / 0.6216 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.652, allocations: 1.06 MB / 0.6226 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004684/0.6568, allocations: 1.376 MB / 0.624 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.6597, allocations: 2.505 MB / 0.6264 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/0.6643, allocations: 315.8 kB / 0.6267 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/0.6655, allocations: 352 kB / 0.6271 GB, free: 0.7188 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 (744): * 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): 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.215/0.8806, allocations: 2.363 MB / 0.6294 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007922/0.8814, allocations: 301.7 kB / 0.6297 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009898/0.8913, allocations: 5.079 MB / 0.6346 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/0.8914, allocations: 49.27 kB / 0.6347 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.8914, allocations: 5.344 kB / 0.6347 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.8915, allocations: 14.17 kB / 0.6347 GB, free: 110.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.9108, allocations: 11.77 MB / 0.6462 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.9109, allocations: 12.52 kB / 0.6462 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.9126, allocations: 428.6 kB / 0.6466 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/0.9161, allocations: 0.9061 MB / 0.6475 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/0.9164, allocations: 59.08 kB / 0.6476 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.9187, allocations: 2.299 MB / 0.6498 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.9187, allocations: 16.41 kB / 0.6498 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.932, allocations: 8.205 MB / 0.6578 GB, free: 107.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/0.933, allocations: 345.6 kB / 0.6582 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009547/0.934, allocations: 52.03 kB / 0.6582 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.936, allocations: 141.3 kB / 0.6583 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/0.9367, allocations: 164.4 kB / 0.6585 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/0.937, allocations: 78.28 kB / 0.6586 GB, free: 107.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004197/0.9412, allocations: 1.896 MB / 0.6604 GB, free: 106.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9412, allocations: 0 / 0.6604 GB, free: 106.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006694/0.9479, allocations: 1.06 MB / 0.6615 GB, free: 106.9 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.001172/0.9491, allocations: 211.7 kB / 0.6617 GB, free: 106.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01116/0.9603, allocations: 6.24 MB / 0.6678 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.9604, allocations: 0.8438 kB / 0.6678 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/0.9654, allocations: 2.596 MB / 0.6703 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.9684, allocations: 464 kB / 0.6707 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.9898, allocations: 13.52 MB / 0.6839 GB, free: 99.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005681/0.9955, allocations: 3.757 MB / 0.6876 GB, free: 96.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005876/1.001, allocations: 2.148 MB / 0.6897 GB, free: 94.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.003, allocations: 251.4 kB / 0.6899 GB, free: 94.34 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.003, allocations: 0 / 0.6899 GB, free: 94.34 MB / 494.1 MB Notification: Performance of Templates: time 0.05512/1.058, allocations: 33.99 MB / 0.7231 GB, free: 60.55 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) Environment - environmentSimulation: