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.001596/0.001596, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.364/0.364, allocations: 38 MB / 307.8 MB, free: 9.973 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.001628/0.001628, allocations: 75.89 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 56.45 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005349/0.1192, allocations: 3.926 MB / 435.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1217, allocations: 1.279 MB / 436.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.1222, allocations: 11.94 kB / 436.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.1226, allocations: 118.9 kB / 437 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.1232, allocations: 202.2 kB / 437.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008029/0.124, allocations: 343.4 kB / 437.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1251, allocations: 1.022 MB / 438.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1255, allocations: 174.4 kB / 438.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.1262, allocations: 438.6 kB / 439.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.1269, allocations: 494.2 kB / 439.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.1271, allocations: 79.98 kB / 439.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.1274, allocations: 127.9 kB / 439.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.1276, allocations: 199.4 kB / 440.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.1282, allocations: 398 kB / 440.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.1292, allocations: 0.923 MB / 441.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1292, allocations: 4 kB / 441.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1292, allocations: 0 / 441.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1292, allocations: 0 / 441.4 MB, free: 12.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.002154/0.1314, allocations: 1.091 MB / 442.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1314, allocations: 15.89 kB / 442.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1316, allocations: 80 kB / 442.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.1321, allocations: 429.6 kB / 443 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.1322, allocations: 53.69 kB / 443 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1323, allocations: 72.03 kB / 443.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1337, allocations: 0.8179 MB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1337, allocations: 11.89 kB / 443.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.1338, allocations: 24 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.1338, allocations: 19.98 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.1354, allocations: 0.7579 MB / 444.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.1394, allocations: 2.562 MB / 447.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.1408, allocations: 0.6346 MB / 447.9 MB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.1415, allocations: 379.3 kB / 448.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.1415, allocations: 4 kB / 448.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1416, allocations: 46.5 kB / 448.3 MB, free: 5.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.1416, allocations: 0 / 448.3 MB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.007441/0.149, allocations: 3.549 MB / 451.9 MB, free: 1.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1491, allocations: 136.5 kB / 452 MB, free: 1.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.1496, allocations: 425.8 kB / 452.4 MB, free: 1.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.1497, allocations: 49.7 kB / 452.5 MB, free: 1.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1499, allocations: 280.3 kB / 452.8 MB, free: 0.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.1501, allocations: 260.5 kB / 453 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.1504, allocations: 174.5 kB / 453.2 MB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1505, allocations: 370.8 kB / 453.6 MB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2015/0.3521, allocations: 389.8 kB / 453.9 MB, free: 53.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.353, allocations: 0.5395 MB / 454.5 MB, free: 53.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3541, allocations: 0.746 MB / 455.2 MB, free: 53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3541, allocations: 0 / 455.2 MB, free: 53 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002426/0.3566, allocations: 1.288 MB / 456.5 MB, free: 52.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3566, allocations: 6.562 kB / 456.5 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3566, allocations: 4.312 kB / 456.5 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.3578, allocations: 0.7578 MB / 457.3 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.3583, allocations: 147.9 kB / 457.4 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.36, allocations: 2.692 MB / 460.1 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.3608, allocations: 143.3 kB / 460.3 MB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.3609, allocations: 38.11 kB / 460.3 MB, free: 50.52 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 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,6), (1,7), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.3611, allocations: 224.5 kB / 460.5 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3613, allocations: 65.44 kB / 460.6 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3615, allocations: 87.98 kB / 460.7 MB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3615, allocations: 9.656 kB / 460.7 MB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.3615, allocations: 0 / 460.7 MB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3615, allocations: 6.469 kB / 460.7 MB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.3649, allocations: 2.16 MB / 462.8 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3649, allocations: 0 / 462.8 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3654, allocations: 115 kB / 462.9 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/0.3664, allocations: 0.7297 MB / 463.7 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.3665, allocations: 34.06 kB / 463.7 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.3681, allocations: 2.641 MB / 466.4 MB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3681, allocations: 3.312 kB / 466.4 MB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.3709, allocations: 1.777 MB / 468.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.3712, allocations: 221.5 kB / 468.3 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.3714, allocations: 26.81 kB / 468.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.3722, allocations: 121.3 kB / 468.5 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.3724, allocations: 148.5 kB / 468.6 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.3725, allocations: 37.62 kB / 468.7 MB, free: 45.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.3728, allocations: 294.3 kB / 469 MB, free: 45.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3728, allocations: 3.031 kB / 469 MB, free: 45.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007469/0.3735, allocations: 195.8 kB / 469.2 MB, free: 45.53 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,6), (1,7), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.3738, allocations: 157.8 kB / 469.3 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3757, allocations: 0.972 MB / 470.3 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3757, allocations: 0 / 470.3 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.3767, allocations: 0.5103 MB / 470.8 MB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.3776, allocations: 112.5 kB / 470.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.3816, allocations: 2.093 MB / 473 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3819, allocations: 0.9045 MB / 473.9 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.3821, allocations: 62.77 kB / 474 MB, free: 43.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3823, allocations: 58.23 kB / 474 MB, free: 43.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3823, allocations: 0 / 474 MB, free: 43.05 MB / 382.1 MB Notification: Performance of Templates: time 0.026/0.4083, allocations: 15.68 MB / 489.7 MB, free: 41.9 MB / 382.1 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)