Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00151/0.00151, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.59/1.59, allocations: 194.3 MB / 202.4 MB, free: 8.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 113.7 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2135/0.2135, allocations: 39.95 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.113e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1273, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5419, allocations: 102.1 MB / 0.5374 GB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5421, allocations: 72.91 kB / 0.5375 GB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3107/0.8529, allocations: 115.8 MB / 0.6506 GB, free: 1.914 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.8529, allocations: 0 / 0.6506 GB, free: 1.914 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005115/0.8534, allocations: 120 kB / 0.6508 GB, free: 1.797 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02192/0.8754, allocations: 5.941 MB / 0.6566 GB, free: 11.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.175e-05/0.8755, allocations: 12.03 kB / 0.6566 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03971/0.9152, allocations: 7.001 MB / 0.6634 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3405/1.256, allocations: 7.776 MB / 0.671 GB, free: 93.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/1.256, allocations: 189.1 kB / 0.6712 GB, free: 93.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003738/1.26, allocations: 346.6 kB / 0.6715 GB, free: 93.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01985/1.28, allocations: 8.204 MB / 0.6795 GB, free: 93.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03151/1.312, allocations: 12.41 MB / 0.6916 GB, free: 90.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006623/1.312, allocations: 88.06 kB / 0.6917 GB, free: 90.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003173/1.316, allocations: 39.97 kB / 0.6918 GB, free: 90.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/1.318, allocations: 1.316 MB / 0.693 GB, free: 90.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07219/1.39, allocations: 59.42 MB / 0.7511 GB, free: 52.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/1.396, allocations: 4.894 MB / 0.7559 GB, free: 50.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003842/1.4, allocations: 3.218 MB / 0.759 GB, free: 49.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/1.401, allocations: 0.69 MB / 0.7597 GB, free: 48.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.401, allocations: 59.5 kB / 0.7597 GB, free: 48.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 5.12e-06/1.401, allocations: 3.688 kB / 0.7597 GB, free: 48.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.06682/1.467, allocations: 29.93 MB / 0.789 GB, free: 34.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.468, allocations: 264.6 kB / 0.7892 GB, free: 34.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009491/1.477, allocations: 3.919 MB / 0.793 GB, free: 30.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001232/1.478, allocations: 25.7 kB / 0.7931 GB, free: 30.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.482, allocations: 4.114 MB / 0.7971 GB, free: 27.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.483, allocations: 1.153 MB / 0.7982 GB, free: 26.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007712/1.484, allocations: 3.531 kB / 0.7982 GB, free: 26.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003707/1.485, allocations: 0.6374 MB / 0.7988 GB, free: 25.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/1.489, allocations: 3.151 MB / 0.8019 GB, free: 22.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/1.495, allocations: 7.498 MB / 0.8092 GB, free: 13.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/1.502, allocations: 4.83 MB / 0.8139 GB, free: 9.457 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.502, allocations: 44 kB / 0.814 GB, free: 9.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02373/1.526, allocations: 11.6 MB / 0.8253 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/1.526, allocations: 68 kB / 0.8254 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002678/1.527, allocations: 160 kB / 0.8255 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/1.533, allocations: 2.16 MB / 0.8276 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.539, allocations: 1.815 MB / 0.8294 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/1.558, allocations: 13.59 MB / 0.8427 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/1.567, allocations: 307.8 kB / 0.843 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002528/1.569, allocations: 470.5 kB / 0.8434 GB, free: 15.4 MB / 0.4948 GB 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.001613/1.571, allocations: 497.3 kB / 0.8439 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.572, allocations: 465.5 kB / 0.8443 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.584, allocations: 6.757 MB / 0.8509 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/1.584, allocations: 36 kB / 0.851 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/1.584, allocations: 8 kB / 0.851 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.584, allocations: 14.62 kB / 0.851 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.305/1.889, allocations: 14.72 MB / 0.8654 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.889, allocations: 6.688 kB / 0.8654 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.892, allocations: 0.509 MB / 0.8659 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004734/1.897, allocations: 1.857 MB / 0.8677 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/1.897, allocations: 20.11 kB / 0.8677 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.912, allocations: 11.93 MB / 0.8794 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.912, allocations: 17.62 kB / 0.8794 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.928, allocations: 11.73 MB / 0.8908 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.93, allocations: 0.9987 MB / 0.8918 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/1.931, allocations: 6.875 kB / 0.8918 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.933, allocations: 168.9 kB / 0.892 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/1.934, allocations: 215.5 kB / 0.8922 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/1.934, allocations: 89.34 kB / 0.8923 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003706/1.938, allocations: 2.657 MB / 0.8949 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.213e-06/1.938, allocations: 0 / 0.8949 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006435/1.944, allocations: 1.287 MB / 0.8961 GB, free: 106.3 MB / 0.4948 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 () * 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.000517/1.945, allocations: 167.4 kB / 0.8963 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01406/1.959, allocations: 8.482 MB / 0.9046 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.959, allocations: 5.156 kB / 0.9046 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006548/1.965, allocations: 3.784 MB / 0.9083 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.969, allocations: 0.5022 MB / 0.9088 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.995, allocations: 12.05 MB / 0.9205 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009625/2.005, allocations: 4.517 MB / 0.9249 GB, free: 100 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009673/2.015, allocations: 2.517 MB / 0.9274 GB, free: 99.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/2.017, allocations: 333.3 kB / 0.9277 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.183e-06/2.017, allocations: 0 / 0.9277 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.1439/2.161, allocations: 53.54 MB / 0.98 GB, free: 72.18 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)