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.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002602/0.002602, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.709/1.709, allocations: 205.1 MB / 222 MB, free: 4.758 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.3962/0.3962, allocations: 39.93 MB / 309.3 MB, free: 9.695 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.00154/0.00154, allocations: 66.42 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1478, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2798/0.4276, allocations: 34.74 MB / 468.5 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.4467, allocations: 7.9 MB / 476.4 MB, free: 29.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009526/0.4563, allocations: 150.3 kB / 476.6 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.4605, allocations: 1.921 MB / 478.5 MB, free: 29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.4648, allocations: 1.551 MB / 480.1 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4663, allocations: 0.5514 MB / 480.6 MB, free: 28.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004762/0.4711, allocations: 4.753 MB / 485.4 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.4749, allocations: 2.541 MB / 487.9 MB, free: 25.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.4773, allocations: 1.112 MB / 489 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.4804, allocations: 1.798 MB / 490.8 MB, free: 24.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008012/0.4812, allocations: 179.8 kB / 491 MB, free: 24.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.484, allocations: 1.005 MB / 492 MB, free: 24.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.4863, allocations: 1.515 MB / 493.5 MB, free: 24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.4896, allocations: 1.774 MB / 495.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5011, allocations: 5.561 MB / 0.4891 GB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.5011, allocations: 1.984 kB / 0.4891 GB, free: 20.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5011, allocations: 0 / 0.4891 GB, free: 20.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003663/0.5015, allocations: 0 / 0.4891 GB, free: 20.79 MB / 382.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.01617/0.5177, allocations: 4.027 MB / 0.493 GB, free: 18.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5178, allocations: 12.19 kB / 0.4931 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007813/0.5256, allocations: 1.771 MB / 0.4948 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.5312, allocations: 1.973 MB / 0.4967 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.5314, allocations: 189 kB / 0.4969 GB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5324, allocations: 256.4 kB / 0.4971 GB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.5488, allocations: 8.436 MB / 0.5054 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.549, allocations: 39.47 kB / 0.5054 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.5494, allocations: 127.1 kB / 0.5055 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.5523, allocations: 1.697 MB / 0.5072 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.5678, allocations: 7.11 MB / 0.5141 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05093/0.6188, allocations: 34.16 MB / 0.5475 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007798/0.6267, allocations: 3.288 MB / 0.5507 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.629, allocations: 1.466 MB / 0.5521 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008425/0.6375, allocations: 4.369 MB / 0.5564 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.6376, allocations: 43.12 kB / 0.5564 GB, free: 9.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.478e-06/0.6376, allocations: 0 / 0.5564 GB, free: 9.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02992/0.6675, allocations: 11.54 MB / 0.5677 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6676, allocations: 174.8 kB / 0.5679 GB, free: 13.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/0.6735, allocations: 3.73 MB / 0.5715 GB, free: 9.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.6738, allocations: 41.7 kB / 0.5716 GB, free: 9.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002968/0.6768, allocations: 2.752 MB / 0.5743 GB, free: 7.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/0.6775, allocations: 0.5248 MB / 0.5748 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.6789, allocations: 1.083 MB / 0.5758 GB, free: 5.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.679, allocations: 305.1 kB / 0.5761 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.6815, allocations: 1.705 MB / 0.5778 GB, free: 3.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/0.6863, allocations: 5.128 MB / 0.5828 GB, free: 12.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00872/0.695, allocations: 7.413 MB / 0.59 GB, free: 3.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/0.6951, allocations: 39.98 kB / 0.5901 GB, free: 3.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0131/0.7082, allocations: 6.722 MB / 0.5966 GB, free: 12.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.7083, allocations: 56 kB / 0.5967 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.7085, allocations: 124.8 kB / 0.5968 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.7091, allocations: 324.7 kB / 0.5971 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.713, allocations: 1.24 MB / 0.5983 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.7159, allocations: 2.292 MB / 0.6006 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/0.7208, allocations: 287.6 kB / 0.6008 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.722, allocations: 340.4 kB / 0.6012 GB, free: 7.914 MB / 478.1 MB 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.004026/0.726, allocations: 1.791 MB / 0.6029 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/0.7269, allocations: 308 kB / 0.6032 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/0.7315, allocations: 2.355 MB / 0.6055 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.7316, allocations: 19.94 kB / 0.6055 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.7316, allocations: 11.88 kB / 0.6055 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.7316, allocations: 7.969 kB / 0.6055 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.7446, allocations: 5.927 MB / 0.6113 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.7447, allocations: 0 / 0.6113 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.7455, allocations: 175.8 kB / 0.6115 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.7476, allocations: 0.7108 MB / 0.6122 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.7478, allocations: 23.94 kB / 0.6122 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/0.7535, allocations: 4.475 MB / 0.6166 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7535, allocations: 112 / 0.6166 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006851/0.7604, allocations: 4.332 MB / 0.6208 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/0.7621, allocations: 0.5282 MB / 0.6213 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/0.7626, allocations: 23.98 kB / 0.6214 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7638, allocations: 67.91 kB / 0.6214 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.764, allocations: 64.56 kB / 0.6215 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.7641, allocations: 39.98 kB / 0.6215 GB, free: 2.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004211/0.7683, allocations: 2.335 MB / 0.6238 GB, free: 472 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7684, allocations: 0 / 0.6238 GB, free: 472 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2218/0.9902, allocations: 0.8184 MB / 0.6246 GB, free: 147.4 MB / 494.1 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 (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.0005951/0.9908, allocations: 145.5 kB / 0.6247 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007932/0.9988, allocations: 4.035 MB / 0.6287 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.9988, allocations: 3.125 kB / 0.6287 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/1, allocations: 1.103 MB / 0.6298 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.003, allocations: 369.5 kB / 0.6301 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.016, allocations: 8.971 MB / 0.6389 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.018, allocations: 2.792 MB / 0.6416 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003761/1.022, allocations: 1.663 MB / 0.6432 GB, free: 140.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/1.023, allocations: 213.7 kB / 0.6434 GB, free: 140.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.844e-06/1.023, allocations: 0 / 0.6434 GB, free: 140.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06892/1.092, allocations: 29.89 MB / 0.6726 GB, free: 133.2 MB / 494.1 MB 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)