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.001121/0.001121, allocations: 165.7 kB / 7.646 MB, free: 1.402 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.455/1.455, allocations: 170.7 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.00172/0.00172, allocations: 99.52 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.1793/0.1793, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.464e-05, allocations: 1.844 kB / 350 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4937, allocations: 79.34 MB / 478.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.494, allocations: 67.06 kB / 478.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03433/0.5284, allocations: 11.45 MB / 489.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5284, allocations: 0 / 489.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.423e-05/0.5285, allocations: 23 kB / 489.6 MB, free: 16.73 MB / 330.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.002468/0.531, allocations: 0.947 MB / 490.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.531, allocations: 7.688 kB / 490.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.5314, allocations: 81.86 kB / 490.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.5321, allocations: 404.3 kB / 491 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.5322, allocations: 30.69 kB / 491.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5323, allocations: 35.12 kB / 491.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/0.5335, allocations: 0.6428 MB / 491.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.5346, allocations: 0.6926 MB / 492.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.5347, allocations: 18.97 kB / 492.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.5347, allocations: 0 / 492.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5348, allocations: 19.55 kB / 492.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.5385, allocations: 2.491 MB / 495 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.5395, allocations: 0.5522 MB / 495.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.5399, allocations: 315.9 kB / 495.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.54, allocations: 11.72 kB / 495.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.54, allocations: 50.55 kB / 495.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.54, allocations: 0 / 495.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.003775/0.5438, allocations: 2.458 MB / 498.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.5439, allocations: 139.7 kB / 498.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.5443, allocations: 345.8 kB / 498.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/0.5444, allocations: 44.58 kB / 498.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5445, allocations: 283.2 kB / 499.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.5448, allocations: 259.5 kB / 499.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.5448, allocations: 0 / 499.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5449, allocations: 371.3 kB / 499.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.5454, allocations: 328.7 kB / 0.4883 GB, free: 12.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.5459, allocations: 483.7 kB / 0.4888 GB, free: 11.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.5465, allocations: 289.2 kB / 0.4891 GB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5465, allocations: 0 / 0.4891 GB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00198/0.5485, allocations: 1.208 MB / 0.4903 GB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5485, allocations: 7.844 kB / 0.4903 GB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5485, allocations: 7.562 kB / 0.4903 GB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.5497, allocations: 0.7861 MB / 0.491 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.5503, allocations: 150.7 kB / 0.4912 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.5522, allocations: 2.756 MB / 0.4939 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.5531, allocations: 181.3 kB / 0.4941 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.5533, allocations: 41.61 kB / 0.4941 GB, free: 9.578 MB / 330.7 MB 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 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: 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: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" 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.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 () * 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.0003437/0.5536, allocations: 143.7 kB / 0.4942 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5538, allocations: 69.91 kB / 0.4943 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.554, allocations: 76.53 kB / 0.4944 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.554, allocations: 11.58 kB / 0.4944 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.5541, allocations: 3.938 kB / 0.4944 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5541, allocations: 3.75 kB / 0.4944 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.5578, allocations: 2.109 MB / 0.4964 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5578, allocations: 6.891 kB / 0.4965 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.5583, allocations: 119.5 kB / 0.4966 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.5593, allocations: 0.7377 MB / 0.4973 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.5594, allocations: 31.34 kB / 0.4973 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.5623, allocations: 2.697 MB / 0.4999 GB, free: 22.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5623, allocations: 0 / 0.4999 GB, free: 22.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.5652, allocations: 1.744 MB / 0.5017 GB, free: 21.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.5656, allocations: 218.9 kB / 0.5019 GB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.5657, allocations: 11.66 kB / 0.5019 GB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.5666, allocations: 164.2 kB / 0.502 GB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.567, allocations: 171.5 kB / 0.5022 GB, free: 21.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.5671, allocations: 42.48 kB / 0.5022 GB, free: 21.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003952/0.5675, allocations: 267.6 kB / 0.5025 GB, free: 21.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5676, allocations: 0 / 0.5025 GB, free: 21.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001186/0.5687, allocations: 171.4 kB / 0.5027 GB, free: 21.48 MB / 346.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) * 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.0003537/0.5691, allocations: 141.7 kB / 0.5028 GB, free: 21.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.5707, allocations: 0.798 MB / 0.5036 GB, free: 21.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5707, allocations: 0 / 0.5036 GB, free: 21.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007907/0.5715, allocations: 448.2 kB / 0.504 GB, free: 21.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.5723, allocations: 81.88 kB / 0.5041 GB, free: 21.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5764, allocations: 1.968 MB / 0.506 GB, free: 20.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.577, allocations: 0.9296 MB / 0.5069 GB, free: 19.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.5773, allocations: 60.09 kB / 0.507 GB, free: 19.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5774, allocations: 42.11 kB / 0.507 GB, free: 19.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5775, allocations: 0 / 0.507 GB, free: 19.23 MB / 346.7 MB Notification: Performance of Templates: time 0.01851/0.596, allocations: 12.28 MB / 0.519 GB, free: 12.99 MB / 346.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)