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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006994/0.006994, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002056/0.002056, allocations: 197.1 kB / 16.68 MB, free: 5.977 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.691/1.691, 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.3122/0.3122, allocations: 38 MB / 307.9 MB, free: 10.16 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.001719/0.001719, allocations: 71.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2841, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01056/0.2947, allocations: 10.28 MB / 499.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007576/0.3023, allocations: 3.785 MB / 0.4917 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.304, allocations: 54.75 kB / 0.4918 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.3074, allocations: 1.951 MB / 0.4937 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.3116, allocations: 1.696 MB / 0.4953 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.313, allocations: 0.6127 MB / 0.4959 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.3174, allocations: 3.353 MB / 0.4992 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.3199, allocations: 2.573 MB / 0.5017 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.3215, allocations: 1.246 MB / 0.5029 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.3232, allocations: 1.68 MB / 0.5046 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.3237, allocations: 254.3 kB / 0.5048 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.3254, allocations: 1.027 MB / 0.5058 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.3266, allocations: 1.581 MB / 0.5074 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.328, allocations: 1.836 MB / 0.5092 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.3349, allocations: 5.828 MB / 0.5149 GB, free: 12.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.335, allocations: 1.531 kB / 0.5149 GB, free: 12.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.335, allocations: 4 kB / 0.5149 GB, free: 12.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.3352, allocations: 0 / 0.5149 GB, free: 12.8 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008267/0.3435, allocations: 4.023 MB / 0.5188 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.3435, allocations: 11.89 kB / 0.5188 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.3495, allocations: 1.778 MB / 0.5205 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.3532, allocations: 2.002 MB / 0.5225 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3534, allocations: 189.2 kB / 0.5227 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004765/0.3539, allocations: 255.7 kB / 0.5229 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.3672, allocations: 8.443 MB / 0.5312 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.784e-05/0.3674, allocations: 35.66 kB / 0.5312 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.3677, allocations: 131.9 kB / 0.5313 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002616/0.3703, allocations: 1.695 MB / 0.533 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3833, allocations: 7.106 MB / 0.5399 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.4283, allocations: 34.02 MB / 0.5731 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00737/0.4357, allocations: 3.274 MB / 0.5763 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.4378, allocations: 1.466 MB / 0.5778 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00729/0.4451, allocations: 4.369 MB / 0.582 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.4452, allocations: 51.06 kB / 0.5821 GB, free: 6.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 6.011e-06/0.4452, allocations: 0 / 0.5821 GB, free: 6.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02953/0.4747, allocations: 11.53 MB / 0.5934 GB, free: 10.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.4749, allocations: 174.8 kB / 0.5935 GB, free: 10.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006428/0.4813, allocations: 3.73 MB / 0.5972 GB, free: 7.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.4815, allocations: 41.7 kB / 0.5972 GB, free: 6.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.484, allocations: 2.752 MB / 0.5999 GB, free: 4.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.4847, allocations: 0.5171 MB / 0.6004 GB, free: 3.656 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.4867, allocations: 1.079 MB / 0.6014 GB, free: 2.566 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4869, allocations: 313 kB / 0.6017 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.4897, allocations: 1.701 MB / 0.6034 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.4957, allocations: 5.139 MB / 0.6084 GB, free: 9.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009199/0.5049, allocations: 7.407 MB / 0.6157 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.505, allocations: 39.94 kB / 0.6157 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01173/0.5168, allocations: 6.719 MB / 0.6223 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.5169, allocations: 59.94 kB / 0.6223 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.5171, allocations: 124.2 kB / 0.6224 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.5177, allocations: 312.7 kB / 0.6227 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.5216, allocations: 1.26 MB / 0.624 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.5242, allocations: 2.497 MB / 0.6264 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/0.5277, allocations: 287.5 kB / 0.6267 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006611/0.5284, allocations: 332 kB / 0.627 GB, free: 4.809 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00298/0.5314, allocations: 1.791 MB / 0.6287 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006114/0.532, allocations: 308 kB / 0.629 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.5367, allocations: 2.367 MB / 0.6313 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.5368, allocations: 19.98 kB / 0.6314 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.5368, allocations: 4 kB / 0.6314 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5368, allocations: 3.984 kB / 0.6314 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2094/0.7462, allocations: 5.908 MB / 0.6371 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7463, allocations: 1.219 kB / 0.6371 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.7471, allocations: 172.3 kB / 0.6373 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.7492, allocations: 0.717 MB / 0.638 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.7493, allocations: 20.78 kB / 0.638 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005395/0.7547, allocations: 4.822 MB / 0.6427 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7547, allocations: 10.66 kB / 0.6427 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.761, allocations: 4.315 MB / 0.647 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.7621, allocations: 0.5274 MB / 0.6475 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.7624, allocations: 18.52 kB / 0.6475 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7635, allocations: 72.28 kB / 0.6476 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.7637, allocations: 71.86 kB / 0.6476 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/0.7638, allocations: 36.38 kB / 0.6477 GB, free: 121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003507/0.7673, allocations: 2.33 MB / 0.6499 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7673, allocations: 0 / 0.6499 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004276/0.7716, allocations: 0.8236 MB / 0.6507 GB, free: 120.1 MB / 0.4981 GB 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.7719, allocations: 154 kB / 0.6509 GB, free: 120 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005467/0.7774, allocations: 4.046 MB / 0.6548 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7774, allocations: 0 / 0.6548 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.7789, allocations: 1.122 MB / 0.6559 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.7819, allocations: 393 kB / 0.6563 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.7938, allocations: 7.271 MB / 0.6634 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.7961, allocations: 2.793 MB / 0.6661 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003147/0.7993, allocations: 1.661 MB / 0.6678 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.7998, allocations: 203.9 kB / 0.668 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.7998, allocations: 0 / 0.668 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04254/0.8423, allocations: 28.01 MB / 0.6953 GB, free: 89.21 MB / 0.4981 GB 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)