Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.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.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01016/0.01016, allocations: 165 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.238/1.238, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001676/0.001676, allocations: 115.3 kB / 226.2 MB, free: 10.11 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.3481/0.3481, allocations: 38.06 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 16 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 48.69 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4568, allocations: 80.1 MB / 491.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4571, allocations: 67.22 kB / 491.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03219/0.4893, allocations: 11.54 MB / 0.4915 GB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4894, allocations: 4 kB / 0.4915 GB, free: 13.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.207e-05/0.4894, allocations: 23.98 kB / 0.4915 GB, free: 13.84 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002234/0.4917, allocations: 1.012 MB / 0.4925 GB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4917, allocations: 8.031 kB / 0.4925 GB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4919, allocations: 86.23 kB / 0.4926 GB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.4925, allocations: 404.5 kB / 0.493 GB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.4926, allocations: 49.88 kB / 0.493 GB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4927, allocations: 66.47 kB / 0.4931 GB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.4942, allocations: 0.8322 MB / 0.4939 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.4943, allocations: 11.84 kB / 0.4939 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.4943, allocations: 27.22 kB / 0.4939 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.4944, allocations: 12 kB / 0.4939 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.4959, allocations: 0.7901 MB / 0.4947 GB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.5, allocations: 2.608 MB / 0.4972 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.5014, allocations: 0.6394 MB / 0.4979 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.5014, allocations: 16.36 kB / 0.4979 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.5015, allocations: 45.73 kB / 0.4979 GB, free: 8.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.356e-06/0.5015, allocations: 0 / 0.4979 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=76): time 0.008395/0.5099, allocations: 3.843 MB / 0.5017 GB, free: 4.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.51, allocations: 147.2 kB / 0.5018 GB, free: 4.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.5106, allocations: 374.6 kB / 0.5022 GB, free: 4.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.5107, allocations: 50.27 kB / 0.5022 GB, free: 4.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.511, allocations: 284.9 kB / 0.5025 GB, free: 3.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.5112, allocations: 266.7 kB / 0.5028 GB, free: 3.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.5113, allocations: 17.81 kB / 0.5028 GB, free: 3.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5114, allocations: 371.2 kB / 0.5031 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.5122, allocations: 396.7 kB / 0.5035 GB, free: 2.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/0.5131, allocations: 0.5486 MB / 0.504 GB, free: 2.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.5138, allocations: 350 kB / 0.5044 GB, free: 2.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5138, allocations: 4 kB / 0.5044 GB, free: 2.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002748/0.5165, allocations: 1.385 MB / 0.5057 GB, free: 1.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.5166, allocations: 8 kB / 0.5057 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.5166, allocations: 8.125 kB / 0.5057 GB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.5181, allocations: 0.7974 MB / 0.5065 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.5187, allocations: 163.5 kB / 0.5067 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.5212, allocations: 2.671 MB / 0.5093 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5223, allocations: 194.3 kB / 0.5095 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5224, allocations: 49.61 kB / 0.5095 GB, free: 13.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.523, allocations: 207.1 kB / 0.5097 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.5233, allocations: 67.23 kB / 0.5098 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.5235, allocations: 91.31 kB / 0.5099 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5235, allocations: 8 kB / 0.5099 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.5235, allocations: 0 / 0.5099 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5235, allocations: 3.984 kB / 0.5099 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.5279, allocations: 2.344 MB / 0.5122 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.528, allocations: 4 kB / 0.5122 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.5285, allocations: 115 kB / 0.5123 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.5298, allocations: 0.773 MB / 0.513 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.53, allocations: 35.95 kB / 0.5131 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.5323, allocations: 2.627 MB / 0.5156 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5324, allocations: 4.062 kB / 0.5156 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.5358, allocations: 1.936 MB / 0.5175 GB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.5363, allocations: 224.1 kB / 0.5177 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5364, allocations: 28 kB / 0.5178 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/0.5373, allocations: 175.8 kB / 0.5179 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/0.5376, allocations: 175.6 kB / 0.5181 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.5377, allocations: 39.92 kB / 0.5181 GB, free: 5.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004195/0.5382, allocations: 287.1 kB / 0.5184 GB, free: 4.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5382, allocations: 0 / 0.5184 GB, free: 4.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009605/0.5391, allocations: 196 kB / 0.5186 GB, free: 4.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002946/0.5394, allocations: 164.9 kB / 0.5188 GB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.5415, allocations: 0.9498 MB / 0.5197 GB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5416, allocations: 0 / 0.5197 GB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5427, allocations: 0.5033 MB / 0.5202 GB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.5435, allocations: 93.73 kB / 0.5203 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.5485, allocations: 2.569 MB / 0.5228 GB, free: 432 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.549, allocations: 0.926 MB / 0.5237 GB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.5494, allocations: 64.81 kB / 0.5237 GB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5495, allocations: 47.42 kB / 0.5238 GB, free: 15.36 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5495, allocations: 3.938 kB / 0.5238 GB, free: 15.35 MB / 378.7 MB Notification: Performance of Templates: time 0.02056/0.5701, allocations: 12.76 MB / 0.5363 GB, free: 2.633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.pipe 2>&1)