Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.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.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001466/0.001466, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.607/1.607, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.001672/0.001672, allocations: 107.7 kB / 247.4 MB, free: 6.238 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.1913/0.1913, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.339e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.07991, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.3981, allocations: 85.75 MB / 0.5214 GB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3984, allocations: 63.03 kB / 0.5215 GB, free: 9.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.4281, allocations: 11.66 MB / 0.5329 GB, free: 3.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4281, allocations: 0 / 0.5329 GB, free: 3.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.4281, allocations: 19.59 kB / 0.5329 GB, free: 3.344 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.001553/0.4297, allocations: 0.9313 MB / 0.5338 GB, free: 2.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4297, allocations: 12.03 kB / 0.5338 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4299, allocations: 79.06 kB / 0.5339 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4303, allocations: 397.5 kB / 0.5343 GB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4303, allocations: 24 kB / 0.5343 GB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.4304, allocations: 46.95 kB / 0.5343 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008044/0.4312, allocations: 0.571 MB / 0.5349 GB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.4322, allocations: 0.6589 MB / 0.5355 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.4322, allocations: 15.89 kB / 0.5355 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.4323, allocations: 0 / 0.5355 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.4323, allocations: 19.94 kB / 0.5356 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.4364, allocations: 2.471 MB / 0.538 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.4373, allocations: 0.54 MB / 0.5385 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.4377, allocations: 311.6 kB / 0.5388 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.448e-05/0.4378, allocations: 19.61 kB / 0.5388 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4378, allocations: 54.09 kB / 0.5389 GB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.4379, allocations: 4 kB / 0.5389 GB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.004066/0.4419, allocations: 2.306 MB / 0.5411 GB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.442, allocations: 143.3 kB / 0.5413 GB, free: 11.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.4424, allocations: 305.1 kB / 0.5416 GB, free: 11.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.4424, allocations: 37.64 kB / 0.5416 GB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.4426, allocations: 272.7 kB / 0.5419 GB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.4429, allocations: 267.1 kB / 0.5421 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.4429, allocations: 3.984 kB / 0.5421 GB, free: 11.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4431, allocations: 368 kB / 0.5425 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.4436, allocations: 292.4 kB / 0.5427 GB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.4441, allocations: 457.7 kB / 0.5432 GB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.4447, allocations: 274.4 kB / 0.5434 GB, free: 9.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4448, allocations: 0 / 0.5434 GB, free: 9.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002116/0.4469, allocations: 1.053 MB / 0.5445 GB, free: 9.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4469, allocations: 8 kB / 0.5445 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.4469, allocations: 8 kB / 0.5445 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4479, allocations: 0.583 MB / 0.545 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.4485, allocations: 166 kB / 0.5452 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.4506, allocations: 2.641 MB / 0.5478 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.4516, allocations: 175.8 kB / 0.548 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.4517, allocations: 46.48 kB / 0.548 GB, free: 5.816 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.452, allocations: 150.8 kB / 0.5481 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.4522, allocations: 63.2 kB / 0.5482 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.4543, allocations: 0.9757 MB / 0.5492 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4543, allocations: 11.95 kB / 0.5492 GB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4543, allocations: 0 / 0.5492 GB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4544, allocations: 3.984 kB / 0.5492 GB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.4575, allocations: 1.9 MB / 0.551 GB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.4575, allocations: 0 / 0.551 GB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.4581, allocations: 127.7 kB / 0.5511 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/0.459, allocations: 0.5476 MB / 0.5517 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.4591, allocations: 26.58 kB / 0.5517 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.4612, allocations: 2.587 MB / 0.5542 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4612, allocations: 7.969 kB / 0.5542 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.4637, allocations: 1.577 MB / 0.5558 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.464, allocations: 215.4 kB / 0.556 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4641, allocations: 15 kB / 0.556 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.465, allocations: 171.8 kB / 0.5562 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.4653, allocations: 178.9 kB / 0.5563 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/0.4654, allocations: 38.89 kB / 0.5564 GB, free: 14.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.4657, allocations: 240.8 kB / 0.5566 GB, free: 14.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4657, allocations: 0 / 0.5566 GB, free: 14.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007663/0.4665, allocations: 167.9 kB / 0.5568 GB, free: 14.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * 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.0002502/0.4667, allocations: 159 kB / 0.5569 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4682, allocations: 0.8712 MB / 0.5578 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4682, allocations: 0.8125 kB / 0.5578 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.4692, allocations: 450.6 kB / 0.5582 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.4699, allocations: 85.08 kB / 0.5583 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.4741, allocations: 1.966 MB / 0.5602 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.4746, allocations: 0.9178 MB / 0.5611 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.4749, allocations: 60.81 kB / 0.5612 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.475, allocations: 46.05 kB / 0.5612 GB, free: 9.941 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.475, allocations: 0 / 0.5612 GB, free: 9.941 MB / 378.7 MB Notification: Performance of Templates: time 0.01877/0.4938, allocations: 12.78 MB / 0.5737 GB, free: 13.21 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.pipe 2>&1)