Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008698/0.008698, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001611/0.001611, allocations: 195.6 kB / 16.68 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.712/1.712, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.379/0.379, allocations: 38 MB / 307.9 MB, free: 10.07 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.001417/0.001417, allocations: 67.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3808, allocations: 56.47 MB / 489.5 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01569/0.3966, allocations: 15.22 MB / 0.4929 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.4103, allocations: 5.086 MB / 0.4978 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005577/0.4159, allocations: 102 kB / 0.4979 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009446/0.4255, allocations: 4.179 MB / 0.502 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4368, allocations: 2.492 MB / 0.5044 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.441, allocations: 1.092 MB / 0.5055 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01414/0.4551, allocations: 6.856 MB / 0.5122 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008255/0.4634, allocations: 5.223 MB / 0.5173 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006058/0.4695, allocations: 2.327 MB / 0.5196 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.4755, allocations: 3.154 MB / 0.5227 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.4777, allocations: 0.5039 MB / 0.5232 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.4818, allocations: 1.393 MB / 0.5245 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004546/0.4864, allocations: 2.864 MB / 0.5273 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008631/0.4951, allocations: 3.259 MB / 0.5305 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.5154, allocations: 10.17 MB / 0.5404 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.5154, allocations: 0 / 0.5404 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5154, allocations: 0 / 0.5404 GB, free: 3.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004958/0.5159, allocations: 0 / 0.5404 GB, free: 3.531 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02422/0.5402, allocations: 7.055 MB / 0.5473 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.5403, allocations: 15.89 kB / 0.5473 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.565, allocations: 3.359 MB / 0.5506 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.5791, allocations: 4.658 MB / 0.5552 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005103/0.5797, allocations: 344.9 kB / 0.5555 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/0.5825, allocations: 463.5 kB / 0.5559 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03151/0.6141, allocations: 13.57 MB / 0.5692 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/0.6144, allocations: 67.42 kB / 0.5693 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.6154, allocations: 207.8 kB / 0.5695 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004469/0.6199, allocations: 2.652 MB / 0.572 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/0.645, allocations: 11.83 MB / 0.5836 GB, free: 6.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3908/1.036, allocations: 54.05 MB / 0.6364 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/1.051, allocations: 5.771 MB / 0.642 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004765/1.055, allocations: 3.552 MB / 0.6455 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/1.056, allocations: 0.6901 MB / 0.6462 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.056, allocations: 64.12 kB / 0.6462 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 5.921e-06/1.056, allocations: 0 / 0.6462 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1096/1.166, allocations: 37.23 MB / 0.6826 GB, free: 97.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/1.166, allocations: 278.4 kB / 0.6828 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/1.18, allocations: 5.32 MB / 0.688 GB, free: 94.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009951/1.181, allocations: 73.36 kB / 0.6881 GB, free: 94.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002742/1.184, allocations: 3.997 MB / 0.692 GB, free: 91.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/1.185, allocations: 1.201 MB / 0.6932 GB, free: 90.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004314/1.19, allocations: 1.641 MB / 0.6948 GB, free: 89.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/1.19, allocations: 301.1 kB / 0.6951 GB, free: 88.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005256/1.195, allocations: 3.696 MB / 0.6987 GB, free: 85.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006828/1.202, allocations: 7.974 MB / 0.7065 GB, free: 75.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.214, allocations: 12.5 MB / 0.7187 GB, free: 61.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.214, allocations: 40 kB / 0.7187 GB, free: 61.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02348/1.238, allocations: 13.98 MB / 0.7324 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/1.238, allocations: 68 kB / 0.7324 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004139/1.238, allocations: 144 kB / 0.7326 GB, free: 46.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007295/1.246, allocations: 2.759 MB / 0.7353 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006777/1.252, allocations: 1.829 MB / 0.737 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.272, allocations: 17.82 MB / 0.7544 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008038/1.28, allocations: 487.1 kB / 0.7549 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/1.282, allocations: 463.9 kB / 0.7553 GB, free: 23.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (973): * Single equations (assignments): 968 * Array equations: 3 * 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): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006759/1.289, allocations: 2.825 MB / 0.7581 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.291, allocations: 493.6 kB / 0.7586 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.305, allocations: 8.172 MB / 0.7666 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/1.305, allocations: 36.52 kB / 0.7666 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.445e-05/1.306, allocations: 8 kB / 0.7666 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/1.306, allocations: 11.95 kB / 0.7666 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/1.343, allocations: 17.16 MB / 0.7834 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/1.343, allocations: 8 kB / 0.7834 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/1.346, allocations: 0.5148 MB / 0.7839 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00687/1.353, allocations: 2.484 MB / 0.7863 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009767/1.354, allocations: 67.92 kB / 0.7864 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/1.377, allocations: 15.93 MB / 0.8019 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.377, allocations: 7.938 kB / 0.8019 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/1.402, allocations: 12.78 MB / 0.8144 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003885/1.406, allocations: 1.108 MB / 0.8155 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002254/1.408, allocations: 63.83 kB / 0.8156 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/1.412, allocations: 231.7 kB / 0.8158 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/1.414, allocations: 213.5 kB / 0.816 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000737/1.414, allocations: 87.98 kB / 0.8161 GB, free: 8.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008498/1.423, allocations: 3.369 MB / 0.8194 GB, free: 5.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.423, allocations: 4 kB / 0.8194 GB, free: 5.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01233/1.435, allocations: 1.583 MB / 0.8209 GB, free: 3.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * Array equations: 3 * 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): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/1.437, allocations: 212.4 kB / 0.8211 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.455, allocations: 9.141 MB / 0.83 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.455, allocations: 4 kB / 0.83 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.462, allocations: 3.586 MB / 0.8335 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/1.469, allocations: 0.6732 MB / 0.8342 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.505, allocations: 14.96 MB / 0.8488 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2989/1.804, allocations: 4.405 MB / 0.8531 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01221/1.816, allocations: 2.508 MB / 0.8556 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002911/1.819, allocations: 357.3 kB / 0.8559 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/1.819, allocations: 1.062 kB / 0.8559 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1199/1.939, allocations: 66.28 MB / 0.9206 GB, free: 148.1 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)