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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3258/0.3258, allocations: 38.03 MB / 308.4 MB, free: 10.43 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006217/0.0006218, allocations: 20 kB / 376.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 57.51 MB / 433.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.004066/0.1482, allocations: 3.169 MB / 437.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1511, allocations: 1.272 MB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.1514, allocations: 11.94 kB / 438.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.1516, allocations: 79.38 kB / 438.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.1521, allocations: 247.3 kB / 438.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.1528, allocations: 259.5 kB / 438.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.1535, allocations: 0.6223 MB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.1538, allocations: 149.9 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.1543, allocations: 382.6 kB / 440.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.1548, allocations: 438.4 kB / 440.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.1549, allocations: 40 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1551, allocations: 75.97 kB / 440.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1553, allocations: 159.4 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1554, allocations: 145.3 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.156, allocations: 0.647 MB / 441.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.156, allocations: 0 / 441.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.156, allocations: 4 kB / 441.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1561, allocations: 0 / 441.6 MB, free: 13.9 MB / 382.1 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.001998/0.1581, allocations: 1.001 MB / 442.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1581, allocations: 8.031 kB / 442.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1583, allocations: 86.92 kB / 442.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.1588, allocations: 416.7 kB / 443.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1589, allocations: 45.31 kB / 443.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.159, allocations: 63.91 kB / 443.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1605, allocations: 0.8372 MB / 444 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.1605, allocations: 3.906 kB / 444 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.1606, allocations: 28 kB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.1606, allocations: 16 kB / 444.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1622, allocations: 0.7892 MB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.1665, allocations: 2.636 MB / 447.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.1678, allocations: 0.6436 MB / 448.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.1679, allocations: 16.36 kB / 448.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1679, allocations: 50.86 kB / 448.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.1679, allocations: 0 / 448.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.00768/0.1756, allocations: 3.711 MB / 451.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.1758, allocations: 136.5 kB / 452 MB, free: 2.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.1764, allocations: 425.8 kB / 452.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.1765, allocations: 53.69 kB / 452.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.1767, allocations: 284.3 kB / 452.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.177, allocations: 268.4 kB / 453.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1771, allocations: 19.98 kB / 453.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1772, allocations: 366.8 kB / 453.4 MB, free: 1.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000746/0.178, allocations: 401.8 kB / 453.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.1789, allocations: 0.5491 MB / 454.4 MB, free: 428 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.1796, allocations: 358.9 kB / 454.7 MB, free: 76 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1796, allocations: 0 / 454.7 MB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.2541/0.4337, allocations: 1.268 MB / 456 MB, free: 50.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4338, allocations: 6.594 kB / 456 MB, free: 50.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.4338, allocations: 6.469 kB / 456 MB, free: 50.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.4357, allocations: 0.7564 MB / 456.8 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.4365, allocations: 159.7 kB / 456.9 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.4382, allocations: 2.696 MB / 459.6 MB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4392, allocations: 190.5 kB / 459.8 MB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.4393, allocations: 41.8 kB / 459.8 MB, free: 48.26 MB / 382.1 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.0003349/0.4397, allocations: 224.7 kB / 460.1 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4398, allocations: 58.12 kB / 460.1 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.44, allocations: 85.72 kB / 460.2 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.44, allocations: 13.62 kB / 460.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.44, allocations: 0 / 460.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.44, allocations: 5.812 kB / 460.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.4437, allocations: 2.192 MB / 462.4 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4437, allocations: 0 / 462.4 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.4442, allocations: 128.1 kB / 462.5 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.4454, allocations: 0.7204 MB / 463.3 MB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.4455, allocations: 34.47 kB / 463.3 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.4471, allocations: 2.641 MB / 465.9 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4471, allocations: 0 / 465.9 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.45, allocations: 1.853 MB / 467.8 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.4503, allocations: 221.6 kB / 468 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4504, allocations: 25.8 kB / 468 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.4512, allocations: 175.4 kB / 468.2 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.4515, allocations: 174.1 kB / 468.4 MB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.4516, allocations: 33.7 kB / 468.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.4518, allocations: 290.5 kB / 468.7 MB, free: 44.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4518, allocations: 0 / 468.7 MB, free: 44.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006923/0.4525, allocations: 196.6 kB / 468.9 MB, free: 44.18 MB / 382.1 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.0002071/0.4527, allocations: 155.8 kB / 469 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.4544, allocations: 0.9694 MB / 470 MB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4544, allocations: 448 / 470 MB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.4555, allocations: 0.5176 MB / 470.5 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.4562, allocations: 95.34 kB / 470.6 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.4605, allocations: 2.562 MB / 473.2 MB, free: 42.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4609, allocations: 0.9199 MB / 474.1 MB, free: 41.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.4612, allocations: 66.38 kB / 474.2 MB, free: 41.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4613, allocations: 49.22 kB / 474.2 MB, free: 41.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4613, allocations: 0 / 474.2 MB, free: 41.39 MB / 382.1 MB Notification: Performance of Templates: time 0.02026/0.4816, allocations: 14.05 MB / 488.2 MB, free: 40.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: