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.008246/0.008246, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001174/0.001174, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.189/0.189, allocations: 38 MB / 307.9 MB, free: 5.977 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.001489/0.001489, allocations: 71.91 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 56.47 MB / 489.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01469/0.1309, allocations: 14.79 MB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009946/0.1409, allocations: 4.56 MB / 0.4969 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1428, allocations: 91.69 kB / 0.497 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004129/0.147, allocations: 2.394 MB / 0.4993 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.1512, allocations: 1.962 MB / 0.5012 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.153, allocations: 0.9042 MB / 0.5021 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00482/0.1578, allocations: 4.12 MB / 0.5061 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/0.1618, allocations: 3.503 MB / 0.5096 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.164, allocations: 1.553 MB / 0.5111 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.1665, allocations: 2.126 MB / 0.5132 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006001/0.1671, allocations: 344 kB / 0.5135 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.1692, allocations: 1.17 MB / 0.5146 GB, free: 168 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2761/0.4453, allocations: 1.988 MB / 0.5166 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003169/0.4485, allocations: 2.376 MB / 0.5189 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.4635, allocations: 7.872 MB / 0.5266 GB, free: 7.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.4636, allocations: 1.062 kB / 0.5266 GB, free: 7.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4636, allocations: 3.375 kB / 0.5266 GB, free: 7.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004854/0.4641, allocations: 4.484 kB / 0.5266 GB, free: 7.688 MB / 398.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.02297/0.487, allocations: 5.21 MB / 0.5317 GB, free: 5.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4871, allocations: 14.81 kB / 0.5317 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4987, allocations: 3.173 MB / 0.5348 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007037/0.5058, allocations: 2.349 MB / 0.5371 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.5061, allocations: 249.2 kB / 0.5373 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.5078, allocations: 338.8 kB / 0.5376 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.5283, allocations: 11.89 MB / 0.5492 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.5284, allocations: 31.06 kB / 0.5493 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004712/0.5289, allocations: 154.4 kB / 0.5494 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/0.5325, allocations: 2.645 MB / 0.552 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.5546, allocations: 10.99 MB / 0.5627 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06634/0.621, allocations: 37.34 MB / 0.5992 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009016/0.63, allocations: 4.404 MB / 0.6035 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.6337, allocations: 2.169 MB / 0.6056 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.6352, allocations: 1.319 MB / 0.6069 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.6353, allocations: 52.56 kB / 0.607 GB, free: 6.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 7.865e-06/0.6353, allocations: 0 / 0.607 GB, free: 6.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04115/0.6765, allocations: 13.85 MB / 0.6205 GB, free: 8.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.6766, allocations: 73.41 kB / 0.6206 GB, free: 8.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.6822, allocations: 2.989 MB / 0.6235 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.6825, allocations: 60.59 kB / 0.6235 GB, free: 5.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.6848, allocations: 3.117 MB / 0.6266 GB, free: 1.941 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.686, allocations: 0.9746 MB / 0.6275 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/0.6881, allocations: 1.191 MB / 0.6287 GB, free: 15.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6882, allocations: 305.1 kB / 0.629 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/0.6921, allocations: 2.408 MB / 0.6313 GB, free: 13.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006682/0.6988, allocations: 5.7 MB / 0.6369 GB, free: 5.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/0.7128, allocations: 8.89 MB / 0.6456 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.7129, allocations: 38.62 kB / 0.6456 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01789/0.7308, allocations: 8.812 MB / 0.6542 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.731, allocations: 60.17 kB / 0.6543 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/0.7312, allocations: 122.8 kB / 0.6544 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/0.7347, allocations: 1.044 MB / 0.6554 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004567/0.7393, allocations: 1.388 MB / 0.6568 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.7424, allocations: 2.604 MB / 0.6593 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.7463, allocations: 318.9 kB / 0.6596 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008104/0.7472, allocations: 352 kB / 0.66 GB, free: 13.37 MB / 0.5137 GB 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.004712/0.7519, allocations: 2.38 MB / 0.6623 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.7525, allocations: 300.1 kB / 0.6626 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009576/0.7621, allocations: 5.09 MB / 0.6675 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/0.7622, allocations: 50.25 kB / 0.6676 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7622, allocations: 8 kB / 0.6676 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/0.7622, allocations: 11.95 kB / 0.6676 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02307/0.7853, allocations: 11.74 MB / 0.6791 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.7854, allocations: 8 kB / 0.6791 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.7872, allocations: 431.3 kB / 0.6795 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/0.7906, allocations: 0.908 MB / 0.6804 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/0.7909, allocations: 51.98 kB / 0.6804 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.7936, allocations: 2.416 MB / 0.6828 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.7936, allocations: 11.94 kB / 0.6828 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.8056, allocations: 7.546 MB / 0.6902 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.8067, allocations: 345.1 kB / 0.6905 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/0.8074, allocations: 58.48 kB / 0.6905 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.8092, allocations: 135.8 kB / 0.6907 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/0.8097, allocations: 161.5 kB / 0.6908 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/0.8099, allocations: 79.5 kB / 0.6909 GB, free: 13.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005028/0.815, allocations: 1.846 MB / 0.6927 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.815, allocations: 0 / 0.6927 GB, free: 11.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007314/0.8223, allocations: 1.035 MB / 0.6937 GB, free: 10.25 MB / 0.545 GB 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.000938/0.8233, allocations: 191.7 kB / 0.6939 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01189/0.8352, allocations: 6.322 MB / 0.7001 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.8352, allocations: 0 / 0.7001 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004679/0.8399, allocations: 2.617 MB / 0.7026 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.8432, allocations: 0.5448 MB / 0.7032 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/0.8693, allocations: 11.26 MB / 0.7142 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007162/0.8765, allocations: 3.659 MB / 0.7177 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005309/0.8818, allocations: 2.153 MB / 0.7198 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/0.8828, allocations: 247.4 kB / 0.7201 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.8828, allocations: 0 / 0.7201 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.2923/1.175, allocations: 33.33 MB / 0.7526 GB, free: 200.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (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)