Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01253/0.01253, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002827/0.002827, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3617/0.3617, allocations: 39.94 MB / 309.8 MB, free: 9.391 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.2. 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.001431/0.001431, allocations: 71.89 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3343, allocations: 56.88 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01048/0.3448, allocations: 10.28 MB / 0.4912 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3549, allocations: 3.783 MB / 0.4949 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.358, allocations: 58.56 kB / 0.4949 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.3629, allocations: 1.944 MB / 0.4968 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.3686, allocations: 1.661 MB / 0.4984 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3705, allocations: 0.6202 MB / 0.499 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.3764, allocations: 3.346 MB / 0.5023 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.3798, allocations: 2.57 MB / 0.5048 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3824, allocations: 1.253 MB / 0.506 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.3857, allocations: 1.676 MB / 0.5077 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.3868, allocations: 253.3 kB / 0.5079 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3894, allocations: 1.031 MB / 0.5089 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3911, allocations: 1.585 MB / 0.5105 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.3939, allocations: 1.831 MB / 0.5123 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0083/0.4022, allocations: 5.827 MB / 0.5179 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4022, allocations: 3.984 kB / 0.518 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4022, allocations: 0 / 0.518 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.4024, allocations: 0 / 0.518 GB, free: 10.52 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.009113/0.4116, allocations: 4.022 MB / 0.5219 GB, free: 6.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4116, allocations: 15.89 kB / 0.5219 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.4182, allocations: 1.774 MB / 0.5236 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/0.4244, allocations: 1.998 MB / 0.5256 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4247, allocations: 193.2 kB / 0.5258 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008913/0.4256, allocations: 255.8 kB / 0.526 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.4411, allocations: 8.432 MB / 0.5342 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4412, allocations: 43.58 kB / 0.5343 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.4416, allocations: 131.9 kB / 0.5344 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/0.4445, allocations: 1.695 MB / 0.5361 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.4584, allocations: 7.091 MB / 0.543 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04427/0.5027, allocations: 34.03 MB / 0.5762 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.5103, allocations: 3.286 MB / 0.5794 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.5123, allocations: 1.459 MB / 0.5809 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007192/0.5195, allocations: 4.365 MB / 0.5851 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.5195, allocations: 47.06 kB / 0.5852 GB, free: 3.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.838e-06/0.5196, allocations: 4 kB / 0.5852 GB, free: 3.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02799/0.5476, allocations: 11.53 MB / 0.5964 GB, free: 7.805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5477, allocations: 166.9 kB / 0.5966 GB, free: 7.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/0.5529, allocations: 3.73 MB / 0.6002 GB, free: 3.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.5531, allocations: 41.7 kB / 0.6003 GB, free: 3.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.5552, allocations: 2.76 MB / 0.603 GB, free: 1.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.5558, allocations: 0.5209 MB / 0.6035 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.5572, allocations: 1.083 MB / 0.6045 GB, free: 15.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5573, allocations: 305.1 kB / 0.6048 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.5597, allocations: 1.705 MB / 0.6065 GB, free: 13.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/0.5649, allocations: 5.139 MB / 0.6115 GB, free: 6.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/0.5737, allocations: 7.41 MB / 0.6187 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.79e-05/0.5738, allocations: 32 kB / 0.6188 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01206/0.5859, allocations: 6.722 MB / 0.6253 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.586, allocations: 64.19 kB / 0.6254 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/0.5862, allocations: 128 kB / 0.6255 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008123/0.5871, allocations: 316.7 kB / 0.6258 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/0.5912, allocations: 1.244 MB / 0.627 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.5937, allocations: 2.497 MB / 0.6295 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/0.5973, allocations: 283.6 kB / 0.6297 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/0.5978, allocations: 332 kB / 0.6301 GB, free: 1.668 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.3515/0.9493, allocations: 1.791 MB / 0.6318 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/0.9506, allocations: 314.8 kB / 0.6321 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/0.9592, allocations: 2.357 MB / 0.6344 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.9593, allocations: 15.06 kB / 0.6344 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.9593, allocations: 3.312 kB / 0.6344 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.9593, allocations: 10.72 kB / 0.6344 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.9783, allocations: 5.916 MB / 0.6402 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.9784, allocations: 3.172 kB / 0.6402 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.9797, allocations: 172.2 kB / 0.6404 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/0.9834, allocations: 0.7182 MB / 0.6411 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.9837, allocations: 20.25 kB / 0.6411 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/0.9918, allocations: 4.83 MB / 0.6458 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9919, allocations: 1.906 kB / 0.6458 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008018/0.9999, allocations: 4.322 MB / 0.65 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.002, allocations: 0.5219 MB / 0.6506 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/1.003, allocations: 27.91 kB / 0.6506 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.005, allocations: 70.11 kB / 0.6506 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.005, allocations: 67.97 kB / 0.6507 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.005, allocations: 42.58 kB / 0.6508 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00588/1.011, allocations: 2.326 MB / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.011, allocations: 3.875 kB / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00641/1.017, allocations: 0.8198 MB / 0.6538 GB, free: 115.8 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.0005198/1.018, allocations: 156.5 kB / 0.654 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008058/1.026, allocations: 4.044 MB / 0.6579 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.026, allocations: 0 / 0.6579 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.028, allocations: 1.11 MB / 0.659 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.032, allocations: 392.8 kB / 0.6594 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.048, allocations: 7.279 MB / 0.6665 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.052, allocations: 2.788 MB / 0.6692 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003301/1.055, allocations: 1.662 MB / 0.6708 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/1.056, allocations: 207.6 kB / 0.671 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/1.056, allocations: 4 kB / 0.671 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04732/1.103, allocations: 27.8 MB / 0.6982 GB, free: 82.25 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)