Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001163/0.001163, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.548/1.548, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 107.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.187/0.187, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.827e-05, allocations: 1.781 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5745, allocations: 75.49 MB / 474.2 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.5747, allocations: 61.88 kB / 474.3 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.5883, allocations: 4.657 MB / 478.9 MB, free: 33.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5883, allocations: 5.219 kB / 478.9 MB, free: 33.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.5883, allocations: 5.125 kB / 478.9 MB, free: 33.21 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006455/0.589, allocations: 0.5212 MB / 479.5 MB, free: 32.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.589, allocations: 9.281 kB / 479.5 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.5891, allocations: 32.09 kB / 479.5 MB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.5894, allocations: 250.6 kB / 479.7 MB, free: 32.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5894, allocations: 8.594 kB / 479.8 MB, free: 32.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.5895, allocations: 14.88 kB / 479.8 MB, free: 32.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002836/0.5898, allocations: 132.2 kB / 479.9 MB, free: 32.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.5901, allocations: 220.3 kB / 480.1 MB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5902, allocations: 10.28 kB / 480.1 MB, free: 32.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.5902, allocations: 0 / 480.1 MB, free: 32.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5902, allocations: 7.031 kB / 480.1 MB, free: 32.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.5916, allocations: 1.254 MB / 481.4 MB, free: 31.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.5918, allocations: 207.3 kB / 481.6 MB, free: 31.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.592, allocations: 80.66 kB / 481.7 MB, free: 31.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.592, allocations: 3.031 kB / 481.7 MB, free: 31.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.592, allocations: 39.66 kB / 481.7 MB, free: 31.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.592, allocations: 0 / 481.7 MB, free: 31.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001669/0.5937, allocations: 1.341 MB / 483.1 MB, free: 30.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5938, allocations: 137.5 kB / 483.2 MB, free: 30.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.5939, allocations: 191.6 kB / 483.4 MB, free: 29.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.594, allocations: 25.7 kB / 483.4 MB, free: 29.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.5941, allocations: 175.8 kB / 483.6 MB, free: 29.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.5941, allocations: 112.2 kB / 483.7 MB, free: 29.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.5942, allocations: 0 / 483.7 MB, free: 29.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5942, allocations: 344.7 kB / 484 MB, free: 29.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5943, allocations: 60.56 kB / 484.1 MB, free: 29.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.5945, allocations: 202.5 kB / 484.3 MB, free: 29.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5947, allocations: 87.45 kB / 484.4 MB, free: 29.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5947, allocations: 1.5 kB / 484.4 MB, free: 29.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004389/0.5951, allocations: 307.1 kB / 484.7 MB, free: 29.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5952, allocations: 6.312 kB / 484.7 MB, free: 29.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5952, allocations: 4.812 kB / 484.7 MB, free: 29.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.5952, allocations: 6.562 kB / 484.7 MB, free: 29.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.5957, allocations: 104.6 kB / 484.8 MB, free: 29.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.5957, allocations: 13.14 kB / 484.8 MB, free: 29.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5959, allocations: 26.66 kB / 484.8 MB, free: 29.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.5959, allocations: 23.28 kB / 484.8 MB, free: 29.15 MB / 346.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 () * 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 8.53e-05/0.596, allocations: 116.4 kB / 485 MB, free: 29.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5961, allocations: 32.23 kB / 485 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.5962, allocations: 30.58 kB / 485 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5962, allocations: 4.125 kB / 485 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5962, allocations: 4.969 kB / 485 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5963, allocations: 2.875 kB / 485 MB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.5973, allocations: 0.8674 MB / 485.9 MB, free: 28.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5973, allocations: 2.188 kB / 485.9 MB, free: 28.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.5978, allocations: 85.19 kB / 486 MB, free: 28.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5978, allocations: 9.391 kB / 486 MB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.5978, allocations: 2.875 kB / 486 MB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5978, allocations: 3.922 kB / 486 MB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5978, allocations: 2.562 kB / 486 MB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.5985, allocations: 0.6835 MB / 486.7 MB, free: 27.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5987, allocations: 117.5 kB / 486.8 MB, free: 27.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.5987, allocations: 5.938 kB / 486.8 MB, free: 27.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.599, allocations: 23.98 kB / 486.8 MB, free: 27.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.5991, allocations: 28.83 kB / 486.9 MB, free: 27.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5991, allocations: 12.64 kB / 486.9 MB, free: 27.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.5993, allocations: 147.9 kB / 487 MB, free: 27.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5993, allocations: 0 / 487 MB, free: 27.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005073/0.5998, allocations: 55.53 kB / 487.1 MB, free: 27.78 MB / 346.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 () * 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.0001449/0.6, allocations: 100.2 kB / 487.2 MB, free: 27.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.6004, allocations: 194.7 kB / 487.4 MB, free: 27.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6004, allocations: 0 / 487.4 MB, free: 27.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.6006, allocations: 100.2 kB / 487.5 MB, free: 27.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.601, allocations: 35.23 kB / 487.5 MB, free: 27.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.6022, allocations: 0.7112 MB / 488.2 MB, free: 27.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.6026, allocations: 0.782 MB / 489 MB, free: 26.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.6028, allocations: 34.27 kB / 489 MB, free: 26.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.6029, allocations: 25.58 kB / 489 MB, free: 26.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6029, allocations: 0 / 489 MB, free: 26.44 MB / 346.7 MB Notification: Performance of Templates: time 0.0066/0.6095, allocations: 2.008 MB / 491 MB, free: 26.3 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)