Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00912/0.00912, allocations: 174.6 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.472/1.472, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001648/0.001648, allocations: 124.5 kB / 255.6 MB, free: 10.23 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.1753/0.1753, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 9.688 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.278, allocations: 81.97 MB / 0.5303 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.2784, allocations: 71.95 kB / 0.5303 GB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3006/0.5791, allocations: 5.805 MB / 0.536 GB, free: 82.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5791, allocations: 0 / 0.536 GB, free: 82.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.5791, allocations: 7.594 kB / 0.536 GB, free: 82.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009952/0.5801, allocations: 0.6085 MB / 0.5366 GB, free: 82.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.5802, allocations: 8.906 kB / 0.5366 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.5803, allocations: 44.62 kB / 0.5367 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.5806, allocations: 268 kB / 0.5369 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.5807, allocations: 27.94 kB / 0.5369 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.5807, allocations: 50.94 kB / 0.537 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.5815, allocations: 385.7 kB / 0.5374 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5815, allocations: 7.828 kB / 0.5374 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.5816, allocations: 14.69 kB / 0.5374 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5816, allocations: 8.969 kB / 0.5374 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.5821, allocations: 252.1 kB / 0.5376 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.5839, allocations: 1.103 MB / 0.5387 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.5847, allocations: 357 kB / 0.539 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.5847, allocations: 4.844 kB / 0.539 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5847, allocations: 49.23 kB / 0.5391 GB, free: 81.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.5848, allocations: 0 / 0.5391 GB, free: 81.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003982/0.5887, allocations: 2.482 MB / 0.5415 GB, free: 79.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5888, allocations: 113.4 kB / 0.5416 GB, free: 79.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.589, allocations: 211.2 kB / 0.5418 GB, free: 79.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.5891, allocations: 39.67 kB / 0.5419 GB, free: 79.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.5892, allocations: 184.2 kB / 0.542 GB, free: 79.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.5893, allocations: 196.1 kB / 0.5422 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.5893, allocations: 9.531 kB / 0.5422 GB, free: 79.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.5894, allocations: 354.1 kB / 0.5426 GB, free: 78.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.5896, allocations: 132.8 kB / 0.5427 GB, free: 78.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.59, allocations: 236.6 kB / 0.5429 GB, free: 78.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.5903, allocations: 164.7 kB / 0.5431 GB, free: 78.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5903, allocations: 1.375 kB / 0.5431 GB, free: 78.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001071/0.5914, allocations: 0.5579 MB / 0.5436 GB, free: 78.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5914, allocations: 7.281 kB / 0.5436 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5914, allocations: 10.39 kB / 0.5436 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.5918, allocations: 122.1 kB / 0.5438 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.5923, allocations: 96.73 kB / 0.5439 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.5958, allocations: 4.718 MB / 0.5485 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.5962, allocations: 23.06 kB / 0.5485 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.5962, allocations: 21.97 kB / 0.5485 GB, free: 73.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.5965, allocations: 173.2 kB / 0.5487 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5966, allocations: 42.47 kB / 0.5487 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.5967, allocations: 43.17 kB / 0.5488 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5968, allocations: 7.469 kB / 0.5488 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/0.5968, allocations: 3.219 kB / 0.5488 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5968, allocations: 3.797 kB / 0.5488 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.5988, allocations: 1.352 MB / 0.5501 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5988, allocations: 2.562 kB / 0.5501 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.5993, allocations: 101.3 kB / 0.5502 GB, free: 72.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.5996, allocations: 94.16 kB / 0.5503 GB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.5996, allocations: 8.531 kB / 0.5503 GB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.6021, allocations: 4.145 MB / 0.5543 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6022, allocations: 2.5 kB / 0.5543 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.6036, allocations: 0.9962 MB / 0.5553 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6037, allocations: 110.9 kB / 0.5554 GB, free: 67.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.6037, allocations: 16.84 kB / 0.5554 GB, free: 67.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.604, allocations: 21.83 kB / 0.5554 GB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.6041, allocations: 43.72 kB / 0.5555 GB, free: 67.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.6042, allocations: 15.42 kB / 0.5555 GB, free: 67.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.6044, allocations: 173.3 kB / 0.5557 GB, free: 67.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6044, allocations: 3.938 kB / 0.5557 GB, free: 67.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007824/0.6052, allocations: 126.5 kB / 0.5558 GB, free: 67.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.6053, allocations: 111.2 kB / 0.5559 GB, free: 67.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.6067, allocations: 0.7772 MB / 0.5567 GB, free: 66.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6067, allocations: 0.7188 kB / 0.5567 GB, free: 66.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.6075, allocations: 0.5867 MB / 0.5572 GB, free: 66.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.608, allocations: 43.95 kB / 0.5573 GB, free: 66.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.61, allocations: 1.31 MB / 0.5586 GB, free: 65.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.6104, allocations: 0.8296 MB / 0.5594 GB, free: 64.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.6105, allocations: 38.36 kB / 0.5594 GB, free: 64.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.6106, allocations: 30.7 kB / 0.5594 GB, free: 64.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6106, allocations: 0 / 0.5594 GB, free: 64.25 MB / 378.7 MB Notification: Performance of Templates: time 0.007364/0.618, allocations: 4.022 MB / 0.5634 GB, free: 60.96 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)