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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.007027/0.007027, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.6/1.6, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001789/0.001789, allocations: 124.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2634/0.2634, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 22.14 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1012, allocations: 54.88 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4418, allocations: 100.3 MB / 0.5481 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4421, allocations: 80.52 kB / 0.5482 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1598/0.6019, allocations: 71.8 MB / 0.6183 GB, free: 7.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.602, allocations: 0 / 0.6183 GB, free: 7.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.6021, allocations: 71.94 kB / 0.6184 GB, free: 7.676 MB / 394.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.008261/0.6104, allocations: 3.569 MB / 0.6219 GB, free: 4.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6104, allocations: 8.031 kB / 0.6219 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009156/0.6196, allocations: 2.082 MB / 0.6239 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6317, allocations: 4.086 MB / 0.6279 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.6321, allocations: 268 kB / 0.6282 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.6346, allocations: 345.6 kB / 0.6285 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.6535, allocations: 8.859 MB / 0.6372 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.6537, allocations: 59.45 kB / 0.6372 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005463/0.6542, allocations: 175.9 kB / 0.6374 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.6554, allocations: 0.8681 MB / 0.6382 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.6684, allocations: 7.163 MB / 0.6452 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.7158, allocations: 42.59 MB / 0.6868 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006958/0.7228, allocations: 3.177 MB / 0.6899 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00751/0.7304, allocations: 4.085 MB / 0.6939 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.7304, allocations: 55.06 kB / 0.694 GB, free: 9.559 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 4.158e-06/0.7304, allocations: 0 / 0.694 GB, free: 9.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02623/0.7567, allocations: 11.35 MB / 0.7051 GB, free: 14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.7568, allocations: 174.7 kB / 0.7052 GB, free: 13.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.7616, allocations: 3.309 MB / 0.7084 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.7618, allocations: 41.7 kB / 0.7085 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.7637, allocations: 2.736 MB / 0.7112 GB, free: 7.672 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.7642, allocations: 0.4978 MB / 0.7116 GB, free: 7.168 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.7644, allocations: 108 kB / 0.7118 GB, free: 7.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003461/0.7648, allocations: 0.5251 MB / 0.7123 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.7671, allocations: 1.662 MB / 0.7139 GB, free: 4.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2211/0.9883, allocations: 5.053 MB / 0.7188 GB, free: 122.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.9927, allocations: 2.846 MB / 0.7216 GB, free: 122.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.641e-05/0.9928, allocations: 36.25 kB / 0.7216 GB, free: 122.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01099/1.004, allocations: 6.619 MB / 0.7281 GB, free: 122.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.004, allocations: 60.31 kB / 0.7282 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/1.004, allocations: 122.4 kB / 0.7283 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/1.005, allocations: 343.4 kB / 0.7286 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/1.009, allocations: 1.261 MB / 0.7298 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/1.012, allocations: 2.383 MB / 0.7322 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.016, allocations: 287 kB / 0.7324 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006717/1.016, allocations: 335.3 kB / 0.7328 GB, free: 120.9 MB / 490.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.003062/1.019, allocations: 1.783 MB / 0.7345 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/1.02, allocations: 310.4 kB / 0.7348 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/1.024, allocations: 2.319 MB / 0.7371 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/1.024, allocations: 10.91 kB / 0.7371 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.024, allocations: 3.875 kB / 0.7371 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.024, allocations: 8.953 kB / 0.7371 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009956/1.034, allocations: 5.831 MB / 0.7428 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.034, allocations: 7.219 kB / 0.7428 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/1.035, allocations: 168.3 kB / 0.7429 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.037, allocations: 0.7078 MB / 0.7436 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/1.037, allocations: 21.77 kB / 0.7436 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004458/1.041, allocations: 4.551 MB / 0.7481 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.041, allocations: 6.422 kB / 0.7481 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/1.047, allocations: 4.392 MB / 0.7524 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.048, allocations: 0.5326 MB / 0.7529 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/1.049, allocations: 20.66 kB / 0.7529 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.05, allocations: 74.62 kB / 0.753 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.05, allocations: 71.09 kB / 0.7531 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/1.05, allocations: 31.58 kB / 0.7531 GB, free: 117.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00311/1.053, allocations: 2.308 MB / 0.7554 GB, free: 116.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.053, allocations: 0 / 0.7554 GB, free: 116.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004103/1.057, allocations: 0.8163 MB / 0.7561 GB, free: 116.8 MB / 490.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.0003214/1.058, allocations: 154.6 kB / 0.7563 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004974/1.063, allocations: 3.942 MB / 0.7601 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.063, allocations: 0 / 0.7601 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.064, allocations: 1.096 MB / 0.7612 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.066, allocations: 349.6 kB / 0.7615 GB, free: 114.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.077, allocations: 8.464 MB / 0.7698 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.079, allocations: 2.839 MB / 0.7726 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003694/1.083, allocations: 1.639 MB / 0.7742 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/1.083, allocations: 211.9 kB / 0.7744 GB, free: 109.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/1.083, allocations: 0 / 0.7744 GB, free: 109.1 MB / 490.7 MB Notification: Performance of Templates: time 0.04531/1.129, allocations: 28.72 MB / 0.8024 GB, free: 98.39 MB / 490.7 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)