Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009808/0.009808, 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.603/1.603, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001914/0.001914, allocations: 124.6 kB / 255.6 MB, free: 10.15 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.1757/0.1757, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 14.78 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 54.86 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.26, allocations: 82.61 MB / 0.5309 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.2603, allocations: 71.97 kB / 0.531 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2656/0.5259, allocations: 4.689 MB / 0.5355 GB, free: 83.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5259, allocations: 4 kB / 0.5355 GB, free: 83.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.526, allocations: 10.38 kB / 0.5355 GB, free: 83.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009234/0.5269, allocations: 0.5489 MB / 0.5361 GB, free: 82.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.527, allocations: 9.594 kB / 0.5361 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.5271, allocations: 32.03 kB / 0.5361 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.5274, allocations: 250.8 kB / 0.5364 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5274, allocations: 18.72 kB / 0.5364 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.5275, allocations: 31.64 kB / 0.5364 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.528, allocations: 276.9 kB / 0.5367 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.5281, allocations: 6.719 kB / 0.5367 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.5281, allocations: 13.14 kB / 0.5367 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5281, allocations: 10.05 kB / 0.5367 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.5286, allocations: 199.8 kB / 0.5369 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.5301, allocations: 1.307 MB / 0.5382 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.5306, allocations: 254.7 kB / 0.5384 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5306, allocations: 3.125 kB / 0.5384 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5306, allocations: 43.83 kB / 0.5385 GB, free: 81.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.5307, allocations: 0 / 0.5385 GB, free: 81.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003029/0.5337, allocations: 1.629 MB / 0.54 GB, free: 80.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5338, allocations: 134.6 kB / 0.5402 GB, free: 80.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.5341, allocations: 195.9 kB / 0.5404 GB, free: 79.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.5341, allocations: 31.48 kB / 0.5404 GB, free: 79.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5343, allocations: 175.2 kB / 0.5406 GB, free: 79.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5344, allocations: 117.5 kB / 0.5407 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.5344, allocations: 8.469 kB / 0.5407 GB, free: 79.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.5345, allocations: 341.6 kB / 0.541 GB, free: 79.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.5348, allocations: 113.3 kB / 0.5411 GB, free: 79.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.5352, allocations: 249.6 kB / 0.5414 GB, free: 79.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.5355, allocations: 145.5 kB / 0.5415 GB, free: 79.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5356, allocations: 5.375 kB / 0.5415 GB, free: 79.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008935/0.5365, allocations: 408.6 kB / 0.5419 GB, free: 79.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.5365, allocations: 7.594 kB / 0.5419 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.5365, allocations: 5.906 kB / 0.5419 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.5366, allocations: 11.19 kB / 0.5419 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.537, allocations: 109.2 kB / 0.542 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.537, allocations: 7.125 kB / 0.542 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.5373, allocations: 41.89 kB / 0.5421 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5374, allocations: 21.38 kB / 0.5421 GB, free: 79.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.5376, allocations: 155.8 kB / 0.5422 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5377, allocations: 25.38 kB / 0.5423 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/0.5378, allocations: 33.39 kB / 0.5423 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5378, allocations: 8.344 kB / 0.5423 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5378, allocations: 1.312 kB / 0.5423 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5378, allocations: 3.203 kB / 0.5423 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.5395, allocations: 1.019 MB / 0.5433 GB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5395, allocations: 1.031 kB / 0.5433 GB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.5399, allocations: 87.59 kB / 0.5434 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.5399, allocations: 3.156 kB / 0.5434 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.54, allocations: 8.062 kB / 0.5434 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.54, allocations: 6.625 kB / 0.5434 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.54, allocations: 2.5 kB / 0.5434 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.541, allocations: 0.8239 MB / 0.5442 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.5411, allocations: 96.86 kB / 0.5443 GB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.5411, allocations: 15.94 kB / 0.5443 GB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.5414, allocations: 22.73 kB / 0.5443 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5415, allocations: 26.02 kB / 0.5444 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5416, allocations: 12.25 kB / 0.5444 GB, free: 77.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.5417, allocations: 153.7 kB / 0.5445 GB, free: 77.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5417, allocations: 0 / 0.5445 GB, free: 77.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.5422, allocations: 73.88 kB / 0.5446 GB, free: 77.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001256/0.5424, allocations: 106.5 kB / 0.5447 GB, free: 77.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006342/0.543, allocations: 311.3 kB / 0.545 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.543, allocations: 0 / 0.545 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.5433, allocations: 139.6 kB / 0.5451 GB, free: 77.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.5438, allocations: 41.22 kB / 0.5452 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5452, allocations: 1.074 MB / 0.5462 GB, free: 76.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.5454, allocations: 0.7798 MB / 0.547 GB, free: 75.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.5456, allocations: 34.58 kB / 0.547 GB, free: 75.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.5457, allocations: 26.95 kB / 0.547 GB, free: 75.63 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5457, allocations: 1 kB / 0.547 GB, free: 75.63 MB / 378.7 MB Notification: Performance of Templates: time 0.005679/0.5514, allocations: 2.109 MB / 0.5491 GB, free: 74.61 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)