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.005375/0.005375, allocations: 175.2 kB / 15.12 MB, free: 5.969 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.62/1.62, allocations: 194.5 MB / 210.3 MB, free: 8.711 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.001941/0.001941, allocations: 116.7 kB / 255.6 MB, free: 11.31 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.2111/0.2111, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003862, allocations: 9.75 kB / 406.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 54.87 MB / 461 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5239, allocations: 86.5 MB / 0.5347 GB, free: 27.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5243, allocations: 64.28 kB / 0.5348 GB, free: 27.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03717/0.5615, allocations: 11.76 MB / 0.5462 GB, free: 26.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5615, allocations: 0 / 0.5462 GB, free: 26.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.595e-05/0.5616, allocations: 13.5 kB / 0.5463 GB, free: 26.14 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002579/0.5642, allocations: 1 MB / 0.5472 GB, free: 25.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5642, allocations: 9.25 kB / 0.5472 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.5644, allocations: 82.34 kB / 0.5473 GB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.5652, allocations: 401.1 kB / 0.5477 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.5653, allocations: 47.28 kB / 0.5477 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5654, allocations: 61.69 kB / 0.5478 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.5674, allocations: 0.8015 MB / 0.5486 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.5674, allocations: 8.625 kB / 0.5486 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.5675, allocations: 22.94 kB / 0.5486 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.5676, allocations: 20.47 kB / 0.5486 GB, free: 25.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.5694, allocations: 0.7193 MB / 0.5493 GB, free: 25.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.5743, allocations: 2.583 MB / 0.5519 GB, free: 23.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5755, allocations: 0.6235 MB / 0.5525 GB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.5756, allocations: 20.06 kB / 0.5525 GB, free: 23.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.5756, allocations: 45.41 kB / 0.5525 GB, free: 23.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 3.556e-06/0.5756, allocations: 0 / 0.5525 GB, free: 23.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.007254/0.5829, allocations: 3.685 MB / 0.5561 GB, free: 22.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.583, allocations: 140.1 kB / 0.5563 GB, free: 21.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.5833, allocations: 323.7 kB / 0.5566 GB, free: 21.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.5834, allocations: 52.27 kB / 0.5566 GB, free: 21.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5836, allocations: 266.4 kB / 0.5569 GB, free: 21.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.5838, allocations: 284.6 kB / 0.5572 GB, free: 21.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.5839, allocations: 21.08 kB / 0.5572 GB, free: 21.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.584, allocations: 363.8 kB / 0.5575 GB, free: 21.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.5847, allocations: 364.3 kB / 0.5579 GB, free: 21.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.5855, allocations: 0.5185 MB / 0.5584 GB, free: 20.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.5861, allocations: 315 kB / 0.5587 GB, free: 20.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5861, allocations: 0 / 0.5587 GB, free: 20.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002632/0.5888, allocations: 1.232 MB / 0.5599 GB, free: 20.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.5888, allocations: 7.781 kB / 0.5599 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.5888, allocations: 3.938 kB / 0.5599 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.59, allocations: 0.6168 MB / 0.5605 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.5905, allocations: 150.7 kB / 0.5606 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.5922, allocations: 2.571 MB / 0.5631 GB, free: 18.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/0.5932, allocations: 190.7 kB / 0.5633 GB, free: 18.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.5933, allocations: 48.06 kB / 0.5634 GB, free: 18.59 MB / 378.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.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 () * Number of clocked 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.0005317/0.5938, allocations: 223.3 kB / 0.5636 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.594, allocations: 61.94 kB / 0.5636 GB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.5964, allocations: 1.147 MB / 0.5648 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5964, allocations: 7.719 kB / 0.5648 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5965, allocations: 0 / 0.5648 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5965, allocations: 7.047 kB / 0.5648 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.6006, allocations: 2.114 MB / 0.5668 GB, free: 17.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6006, allocations: 0 / 0.5668 GB, free: 17.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.6012, allocations: 123.9 kB / 0.567 GB, free: 17.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.6024, allocations: 0.5809 MB / 0.5675 GB, free: 17.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6025, allocations: 31.83 kB / 0.5676 GB, free: 17.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.6053, allocations: 2.53 MB / 0.57 GB, free: 31.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6053, allocations: 3.938 kB / 0.57 GB, free: 31.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.6083, allocations: 1.769 MB / 0.5718 GB, free: 30.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.6088, allocations: 211 kB / 0.572 GB, free: 30.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.609, allocations: 38.05 kB / 0.572 GB, free: 30.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/0.6099, allocations: 172 kB / 0.5722 GB, free: 30.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.6102, allocations: 173.9 kB / 0.5723 GB, free: 30.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6104, allocations: 41.11 kB / 0.5724 GB, free: 30.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.6107, allocations: 264.8 kB / 0.5726 GB, free: 30.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6107, allocations: 4 kB / 0.5726 GB, free: 30.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001077/0.6118, allocations: 196.1 kB / 0.5728 GB, free: 30.62 MB / 394.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) * Number of clocked states: 0 () * 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.0003513/0.6122, allocations: 153.1 kB / 0.573 GB, free: 30.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.6143, allocations: 1.028 MB / 0.574 GB, free: 30.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6143, allocations: 0 / 0.574 GB, free: 30.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.6155, allocations: 0.5246 MB / 0.5745 GB, free: 30.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.6163, allocations: 97.14 kB / 0.5746 GB, free: 30.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.6213, allocations: 2.582 MB / 0.5771 GB, free: 28.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.6219, allocations: 0.9244 MB / 0.578 GB, free: 28.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.6222, allocations: 52.69 kB / 0.578 GB, free: 28.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6224, allocations: 47.11 kB / 0.5781 GB, free: 28.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6224, allocations: 3.938 kB / 0.5781 GB, free: 28.19 MB / 394.7 MB Notification: Performance of Templates: time 0.0209/0.6433, allocations: 13.25 MB / 0.591 GB, free: 23.24 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)