Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01083/0.01083, allocations: 165.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.444/1.444, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001721/0.001721, allocations: 122.5 kB / 226.2 MB, free: 10.11 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.3276/0.3276, allocations: 38.06 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 16 kB / 362.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4377, allocations: 93.47 MB / 0.4932 GB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.438, allocations: 78.64 kB / 0.4933 GB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1802/0.6183, allocations: 71.8 MB / 0.5634 GB, free: 7.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6184, allocations: 0 / 0.5634 GB, free: 7.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001539/0.6185, allocations: 71.98 kB / 0.5635 GB, free: 7.34 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009633/0.6282, allocations: 3.565 MB / 0.5669 GB, free: 3.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6282, allocations: 8.031 kB / 0.567 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.6384, allocations: 2.074 MB / 0.569 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.651, allocations: 4.08 MB / 0.573 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.6513, allocations: 262.8 kB / 0.5732 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.6525, allocations: 344.8 kB / 0.5735 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.6694, allocations: 8.86 MB / 0.5822 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.6696, allocations: 59.8 kB / 0.5823 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/0.6701, allocations: 175.9 kB / 0.5824 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/0.6713, allocations: 0.8642 MB / 0.5833 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2268/0.8981, allocations: 7.161 MB / 0.5903 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03638/0.9345, allocations: 42.6 MB / 0.6319 GB, free: 55.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/0.9408, allocations: 3.171 MB / 0.635 GB, free: 55.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006045/0.9469, allocations: 4.085 MB / 0.639 GB, free: 53.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.9469, allocations: 55 kB / 0.639 GB, free: 53.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 4.258e-06/0.9469, allocations: 0 / 0.639 GB, free: 53.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.02766/0.9746, allocations: 11.36 MB / 0.6501 GB, free: 49.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.9747, allocations: 164.9 kB / 0.6503 GB, free: 49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006386/0.9811, allocations: 3.312 MB / 0.6535 GB, free: 47.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.9815, allocations: 41.27 kB / 0.6535 GB, free: 47.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.9838, allocations: 2.737 MB / 0.6562 GB, free: 45.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009816/0.9848, allocations: 0.4951 MB / 0.6567 GB, free: 45.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.9852, allocations: 102 kB / 0.6568 GB, free: 45.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/0.9855, allocations: 0.5252 MB / 0.6573 GB, free: 44.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.9882, allocations: 1.663 MB / 0.6589 GB, free: 44.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/0.992, allocations: 5.061 MB / 0.6639 GB, free: 39.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.9961, allocations: 2.849 MB / 0.6666 GB, free: 38.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-05/0.9962, allocations: 37.31 kB / 0.6667 GB, free: 38.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01281/1.009, allocations: 6.615 MB / 0.6731 GB, free: 35.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/1.009, allocations: 59.67 kB / 0.6732 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.009, allocations: 122.6 kB / 0.6733 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/1.01, allocations: 339.9 kB / 0.6736 GB, free: 35.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/1.014, allocations: 1.265 MB / 0.6749 GB, free: 35.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/1.016, allocations: 2.386 MB / 0.6772 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/1.021, allocations: 283.8 kB / 0.6775 GB, free: 33.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009483/1.022, allocations: 329.9 kB / 0.6778 GB, free: 33.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003627/1.025, allocations: 1.78 MB / 0.6795 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008856/1.026, allocations: 308.8 kB / 0.6798 GB, free: 32.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.031, allocations: 2.33 MB / 0.6821 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.031, allocations: 12.94 kB / 0.6821 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.031, allocations: 3.656 kB / 0.6821 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.031, allocations: 7.078 kB / 0.6821 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.043, allocations: 5.848 MB / 0.6878 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.043, allocations: 3.844 kB / 0.6878 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/1.044, allocations: 167.7 kB / 0.688 GB, free: 29.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/1.046, allocations: 0.7115 MB / 0.6887 GB, free: 29.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.046, allocations: 19.84 kB / 0.6887 GB, free: 29.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/1.051, allocations: 4.559 MB / 0.6932 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.051, allocations: 7.125 kB / 0.6932 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/1.057, allocations: 4.385 MB / 0.6974 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.059, allocations: 0.5335 MB / 0.698 GB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000577/1.06, allocations: 18.92 kB / 0.698 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.061, allocations: 72.5 kB / 0.6981 GB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.061, allocations: 73.39 kB / 0.6981 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/1.061, allocations: 32.31 kB / 0.6982 GB, free: 24.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003267/1.064, allocations: 2.308 MB / 0.7004 GB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.543e-06/1.064, allocations: 0 / 0.7004 GB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005032/1.069, allocations: 0.8145 MB / 0.7012 GB, free: 23.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004325/1.07, allocations: 156.7 kB / 0.7014 GB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005823/1.076, allocations: 3.939 MB / 0.7052 GB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.076, allocations: 0 / 0.7052 GB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.077, allocations: 1.088 MB / 0.7063 GB, free: 21.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.079, allocations: 347.5 kB / 0.7066 GB, free: 21.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.091, allocations: 8.463 MB / 0.7149 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.093, allocations: 2.835 MB / 0.7176 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003864/1.097, allocations: 1.645 MB / 0.7192 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/1.098, allocations: 201 kB / 0.7194 GB, free: 10.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.098, allocations: 0 / 0.7194 GB, free: 10.75 MB / 426.7 MB Notification: Performance of Templates: time 0.05301/1.151, allocations: 28.74 MB / 0.7475 GB, free: 2.898 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)