Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001171/0.001171, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.735/1.735, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.001621/0.001621, allocations: 114.9 kB / 252.6 MB, free: 4.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2157/0.2157, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.27e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.597, allocations: 81.8 MB / 0.5244 GB, free: 9.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5973, allocations: 67.38 kB / 0.5244 GB, free: 9.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.6111, allocations: 5.78 MB / 0.5301 GB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6112, allocations: 0 / 0.5301 GB, free: 4.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.6112, allocations: 8 kB / 0.5301 GB, free: 4.758 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006045/0.6118, allocations: 0.5491 MB / 0.5306 GB, free: 4.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6118, allocations: 14.77 kB / 0.5306 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.6119, allocations: 39.53 kB / 0.5307 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.6121, allocations: 257.2 kB / 0.5309 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.6122, allocations: 27.59 kB / 0.5309 GB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.6122, allocations: 50.47 kB / 0.531 GB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.6128, allocations: 369.8 kB / 0.5313 GB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.6128, allocations: 7.406 kB / 0.5313 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.6128, allocations: 15 kB / 0.5314 GB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6129, allocations: 16 kB / 0.5314 GB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.6131, allocations: 190.2 kB / 0.5315 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.6149, allocations: 1.715 MB / 0.5332 GB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.6152, allocations: 251.1 kB / 0.5335 GB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.6153, allocations: 97.69 kB / 0.5336 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.6153, allocations: 7.938 kB / 0.5336 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6154, allocations: 38.12 kB / 0.5336 GB, free: 1.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/0.6154, allocations: 7.984 kB / 0.5336 GB, free: 1.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004108/0.6158, allocations: 189.4 kB / 0.5338 GB, free: 1.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.6159, allocations: 216.7 kB / 0.534 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.6161, allocations: 232.2 kB / 0.5342 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6161, allocations: 32.95 kB / 0.5342 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.6162, allocations: 236.9 kB / 0.5345 GB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.6163, allocations: 118.7 kB / 0.5346 GB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.6163, allocations: 13.44 kB / 0.5346 GB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6164, allocations: 347.3 kB / 0.5349 GB, free: 12 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6166, allocations: 83.05 kB / 0.535 GB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.617, allocations: 412.2 kB / 0.5354 GB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6173, allocations: 158.1 kB / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6173, allocations: 4 kB / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007315/0.618, allocations: 0.5 MB / 0.536 GB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.618, allocations: 8 kB / 0.5361 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6181, allocations: 12 kB / 0.5361 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.6181, allocations: 16 kB / 0.5361 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.6186, allocations: 150.2 kB / 0.5362 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.6186, allocations: 28.31 kB / 0.5362 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.6189, allocations: 69.25 kB / 0.5363 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.619, allocations: 35.92 kB / 0.5364 GB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.6191, allocations: 146 kB / 0.5365 GB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6193, allocations: 34.12 kB / 0.5365 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.6194, allocations: 32.78 kB / 0.5366 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6194, allocations: 4.281 kB / 0.5366 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6194, allocations: 4 kB / 0.5366 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6194, allocations: 7.938 kB / 0.5366 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6208, allocations: 0.6447 MB / 0.5372 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.6208, allocations: 4 kB / 0.5372 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.6212, allocations: 83.89 kB / 0.5373 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6213, allocations: 4 kB / 0.5373 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.6213, allocations: 20.05 kB / 0.5373 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.6213, allocations: 11.95 kB / 0.5373 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6213, allocations: 4 kB / 0.5373 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.6222, allocations: 0.8946 MB / 0.5382 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.6223, allocations: 108.8 kB / 0.5383 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.6224, allocations: 11.88 kB / 0.5383 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.6227, allocations: 7.875 kB / 0.5383 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.6228, allocations: 27.84 kB / 0.5383 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.6228, allocations: 19.86 kB / 0.5384 GB, free: 12.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.623, allocations: 178.2 kB / 0.5385 GB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.623, allocations: 0 / 0.5385 GB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007871/0.6238, allocations: 107.5 kB / 0.5386 GB, free: 12.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.624, allocations: 115.4 kB / 0.5387 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.6245, allocations: 267.7 kB / 0.539 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6245, allocations: 4 kB / 0.539 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.6246, allocations: 76.98 kB / 0.5391 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.6253, allocations: 60.78 kB / 0.5391 GB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.6274, allocations: 1.526 MB / 0.5406 GB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.6279, allocations: 0.8033 MB / 0.5414 GB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.6281, allocations: 47.25 kB / 0.5415 GB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.6281, allocations: 27.44 kB / 0.5415 GB, free: 9.473 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6281, allocations: 0 / 0.5415 GB, free: 9.473 MB / 362.7 MB Notification: Performance of Templates: time 0.007151/0.6353, allocations: 2.669 MB / 0.5441 GB, free: 6.836 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)