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.001259/0.00126, allocations: 182 kB / 12.74 MB, free: 2.582 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.658/1.658, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001707/0.001707, allocations: 110.2 kB / 252.6 MB, free: 4.809 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.2033/0.2033, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.342e-05/4.344e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5767, allocations: 86.42 MB / 0.5289 GB, free: 5.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.577, allocations: 62.59 kB / 0.5289 GB, free: 5.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03273/0.6097, allocations: 11.75 MB / 0.5404 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.638e-06/0.6098, allocations: 4 kB / 0.5404 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.6098, allocations: 16 kB / 0.5404 GB, free: 11.07 MB / 362.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.002076/0.6119, allocations: 0.9343 MB / 0.5413 GB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.612, allocations: 8.031 kB / 0.5413 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.6121, allocations: 79.06 kB / 0.5414 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.6128, allocations: 399.4 kB / 0.5418 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.6129, allocations: 50.69 kB / 0.5418 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.613, allocations: 64.97 kB / 0.5419 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.6144, allocations: 0.7475 MB / 0.5426 GB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.6144, allocations: 11.83 kB / 0.5426 GB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.6145, allocations: 26.06 kB / 0.5427 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.6145, allocations: 16 kB / 0.5427 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.6157, allocations: 0.6083 MB / 0.5433 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.6202, allocations: 2.583 MB / 0.5458 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6213, allocations: 0.5718 MB / 0.5463 GB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.6218, allocations: 339.6 kB / 0.5467 GB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.918e-05/0.6219, allocations: 15.81 kB / 0.5467 GB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.622, allocations: 46 kB / 0.5467 GB, free: 5.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.276e-06/0.622, allocations: 4 kB / 0.5467 GB, free: 5.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.004444/0.6264, allocations: 2.388 MB / 0.5491 GB, free: 3.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6266, allocations: 136.5 kB / 0.5492 GB, free: 3.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.627, allocations: 325 kB / 0.5495 GB, free: 2.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.638e-05/0.6271, allocations: 61.81 kB / 0.5496 GB, free: 2.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.6273, allocations: 266.9 kB / 0.5498 GB, free: 2.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6275, allocations: 275.6 kB / 0.5501 GB, free: 2.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.6276, allocations: 22.23 kB / 0.5501 GB, free: 2.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6278, allocations: 363.3 kB / 0.5504 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.6283, allocations: 309.1 kB / 0.5507 GB, free: 1.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.629, allocations: 475.4 kB / 0.5512 GB, free: 1.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.6296, allocations: 272.1 kB / 0.5515 GB, free: 1.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6297, allocations: 4 kB / 0.5515 GB, free: 1.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002383/0.6321, allocations: 1.114 MB / 0.5525 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.6321, allocations: 8 kB / 0.5526 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.6321, allocations: 15.2 kB / 0.5526 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6333, allocations: 0.586 MB / 0.5531 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.6339, allocations: 154.5 kB / 0.5533 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.6362, allocations: 2.565 MB / 0.5558 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6372, allocations: 191.9 kB / 0.556 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.6374, allocations: 46.91 kB / 0.556 GB, free: 13.21 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 () * 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.0002754/0.6376, allocations: 173.9 kB / 0.5562 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6379, allocations: 63.25 kB / 0.5562 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.6401, allocations: 1.036 MB / 0.5573 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6401, allocations: 12 kB / 0.5573 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.6402, allocations: 4 kB / 0.5573 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.6402, allocations: 3.984 kB / 0.5573 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.6438, allocations: 2.013 MB / 0.5592 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6438, allocations: 4 kB / 0.5593 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.6444, allocations: 122.9 kB / 0.5594 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.6455, allocations: 0.5492 MB / 0.5599 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.6456, allocations: 37.64 kB / 0.5599 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.6483, allocations: 2.522 MB / 0.5624 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6483, allocations: 256 / 0.5624 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.6512, allocations: 1.633 MB / 0.564 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.6516, allocations: 219.9 kB / 0.5642 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6517, allocations: 29.5 kB / 0.5642 GB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.6527, allocations: 176 kB / 0.5644 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.6531, allocations: 171.3 kB / 0.5646 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.6532, allocations: 42.58 kB / 0.5646 GB, free: 5.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.6535, allocations: 261.9 kB / 0.5649 GB, free: 5.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6535, allocations: 7.875 kB / 0.5649 GB, free: 5.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009012/0.6544, allocations: 199.7 kB / 0.5651 GB, free: 5.297 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.00028/0.6547, allocations: 155 kB / 0.5652 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.6566, allocations: 0.9199 MB / 0.5661 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6566, allocations: 0 / 0.5661 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.6576, allocations: 479.9 kB / 0.5666 GB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.6583, allocations: 93.77 kB / 0.5666 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.6628, allocations: 2.021 MB / 0.5686 GB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.6634, allocations: 0.9182 MB / 0.5695 GB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.6638, allocations: 56.83 kB / 0.5696 GB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6639, allocations: 46.66 kB / 0.5696 GB, free: 1.102 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6639, allocations: 4 kB / 0.5696 GB, free: 1.098 MB / 378.7 MB Notification: Performance of Templates: time 0.02158/0.6855, allocations: 13.25 MB / 0.5826 GB, free: 3.887 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)