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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001651/0.001651, allocations: 165.7 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.334/1.334, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001555/0.001555, allocations: 109 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1948/0.1948, allocations: 37.99 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.536e-05, allocations: 3.719 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 48.73 MB / 398.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5598, allocations: 95.31 MB / 494 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5602, allocations: 69.89 kB / 494.1 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2997/0.8598, allocations: 115.6 MB / 0.5954 GB, free: 9.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8599, allocations: 0 / 0.5954 GB, free: 9.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005159/0.8604, allocations: 116 kB / 0.5956 GB, free: 9.281 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.02299/0.8834, allocations: 5.925 MB / 0.6013 GB, free: 3.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.8835, allocations: 12.03 kB / 0.6014 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02862/0.9121, allocations: 7 MB / 0.6082 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/0.9346, allocations: 7.775 MB / 0.6158 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.9351, allocations: 191.9 kB / 0.616 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003514/0.9386, allocations: 347.8 kB / 0.6163 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.338/1.277, allocations: 8.198 MB / 0.6243 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/1.31, allocations: 12.4 MB / 0.6364 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/1.31, allocations: 82.73 kB / 0.6365 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.311, allocations: 36.84 kB / 0.6365 GB, free: 72.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/1.313, allocations: 1.317 MB / 0.6378 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06841/1.382, allocations: 59.35 MB / 0.6958 GB, free: 37.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006224/1.388, allocations: 4.892 MB / 0.7006 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/1.392, allocations: 3.22 MB / 0.7037 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/1.393, allocations: 0.6894 MB / 0.7044 GB, free: 32.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/1.393, allocations: 65.38 kB / 0.7044 GB, free: 32.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.122e-06/1.393, allocations: 0 / 0.7044 GB, free: 32.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.06271/1.455, allocations: 29.91 MB / 0.7336 GB, free: 21.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.455, allocations: 268.9 kB / 0.7339 GB, free: 21.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009456/1.465, allocations: 3.921 MB / 0.7377 GB, free: 19.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.466, allocations: 25.7 kB / 0.7377 GB, free: 19.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003394/1.47, allocations: 4.103 MB / 0.7418 GB, free: 16.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002031/1.472, allocations: 1.157 MB / 0.7429 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/1.472, allocations: 0 / 0.7429 GB, free: 15.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004263/1.473, allocations: 0.6407 MB / 0.7435 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.477, allocations: 3.149 MB / 0.7466 GB, free: 13.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006455/1.483, allocations: 7.505 MB / 0.7539 GB, free: 4.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006744/1.49, allocations: 4.825 MB / 0.7586 GB, free: 304 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.49, allocations: 44 kB / 0.7587 GB, free: 260 kB / 426.7 MB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.03568/1.526, allocations: 12.2 MB / 0.7706 GB, free: 7.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.526, allocations: 75.95 kB / 0.7707 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.526, allocations: 152 kB / 0.7708 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/1.532, allocations: 2.169 MB / 0.7729 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008257/1.54, allocations: 1.811 MB / 0.7747 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3722/1.912, allocations: 13.62 MB / 0.788 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007572/1.92, allocations: 308.7 kB / 0.7883 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/1.922, allocations: 471.4 kB / 0.7887 GB, free: 77.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 951 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001921/1.924, allocations: 0.4899 MB / 0.7892 GB, free: 77.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.926, allocations: 454.8 kB / 0.7896 GB, free: 77.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.939, allocations: 6.751 MB / 0.7962 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/1.94, allocations: 33.78 kB / 0.7963 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/1.94, allocations: 10.22 kB / 0.7963 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-05/1.94, allocations: 15.92 kB / 0.7963 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/1.968, allocations: 14.7 MB / 0.8106 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.968, allocations: 7.031 kB / 0.8107 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.97, allocations: 0.5056 MB / 0.8111 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/1.975, allocations: 1.855 MB / 0.813 GB, free: 76.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/1.975, allocations: 19.05 kB / 0.813 GB, free: 76.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.99, allocations: 11.93 MB / 0.8246 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.99, allocations: 9.562 kB / 0.8246 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/2.005, allocations: 11.75 MB / 0.8361 GB, free: 68.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/2.008, allocations: 0.9914 MB / 0.8371 GB, free: 67.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/2.009, allocations: 13.58 kB / 0.8371 GB, free: 67.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/2.011, allocations: 164.5 kB / 0.8373 GB, free: 67.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/2.012, allocations: 212.5 kB / 0.8375 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/2.012, allocations: 94.16 kB / 0.8375 GB, free: 67.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004414/2.016, allocations: 2.655 MB / 0.8401 GB, free: 66.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.016, allocations: 0 / 0.8401 GB, free: 66.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008474/2.025, allocations: 1.288 MB / 0.8414 GB, free: 66.64 MB / 442.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008056/2.026, allocations: 163.1 kB / 0.8415 GB, free: 66.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/2.041, allocations: 8.483 MB / 0.8498 GB, free: 63.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/2.041, allocations: 2.5 kB / 0.8498 GB, free: 63.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006918/2.048, allocations: 3.794 MB / 0.8535 GB, free: 62.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/2.053, allocations: 0.5014 MB / 0.854 GB, free: 62.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/2.077, allocations: 12.04 MB / 0.8658 GB, free: 57.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005561/2.083, allocations: 4.521 MB / 0.8702 GB, free: 56.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006519/2.089, allocations: 2.509 MB / 0.8727 GB, free: 56.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/2.09, allocations: 332.7 kB / 0.873 GB, free: 55.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/2.09, allocations: 0 / 0.873 GB, free: 55.76 MB / 442.7 MB Notification: Performance of Templates: time 0.09617/2.187, allocations: 53.53 MB / 0.9253 GB, free: 12.65 MB / 442.7 MB 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)