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.0009532/0.0009532, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006654/0.006654, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.565/1.565, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3336/0.3336, allocations: 38.03 MB / 308.8 MB, free: 10.25 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.0005814/0.0005813, allocations: 12 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 57.53 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.003799/0.1251, allocations: 3.544 MB / 438.1 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1276, allocations: 1.263 MB / 439.4 MB, free: 388 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1279, allocations: 15.94 kB / 439.4 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1282, allocations: 95.27 kB / 439.5 MB, free: 276 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.1286, allocations: 178.7 kB / 439.6 MB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.1292, allocations: 295.6 kB / 439.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.13, allocations: 0.9716 MB / 440.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.1302, allocations: 151 kB / 441.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.1306, allocations: 394.5 kB / 441.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.1311, allocations: 454.2 kB / 441.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.801e-05/0.1312, allocations: 43.94 kB / 441.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1314, allocations: 83.97 kB / 442 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1315, allocations: 167.3 kB / 442.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.1318, allocations: 379.8 kB / 442.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.1326, allocations: 0.8565 MB / 443.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1326, allocations: 0 / 443.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1326, allocations: 0 / 443.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1326, allocations: 0 / 443.4 MB, free: 12.32 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.001908/0.1345, allocations: 1.002 MB / 444.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1346, allocations: 8.031 kB / 444.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1347, allocations: 83.91 kB / 444.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.1352, allocations: 433.6 kB / 444.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.1353, allocations: 45.69 kB / 445 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1354, allocations: 72.03 kB / 445 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.1368, allocations: 0.8374 MB / 445.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.1368, allocations: 11.91 kB / 445.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.1369, allocations: 24 kB / 445.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1369, allocations: 19.94 kB / 445.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.1384, allocations: 0.793 MB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.1423, allocations: 2.636 MB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1436, allocations: 0.6503 MB / 450 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.1443, allocations: 391.3 kB / 450.4 MB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.1444, allocations: 4.219 kB / 450.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1444, allocations: 62.42 kB / 450.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.1444, allocations: 0 / 450.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.007576/0.152, allocations: 3.733 MB / 454.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.1521, allocations: 140.5 kB / 454.3 MB, free: 0.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.1525, allocations: 425.8 kB / 454.7 MB, free: 376 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.1526, allocations: 49.69 kB / 454.8 MB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1528, allocations: 288.2 kB / 455.1 MB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2003/0.3531, allocations: 265.6 kB / 455.3 MB, free: 50.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3534, allocations: 79.44 kB / 455.4 MB, free: 50.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3535, allocations: 366.7 kB / 455.8 MB, free: 49.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.3545, allocations: 407.6 kB / 456.2 MB, free: 49.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.3554, allocations: 0.5567 MB / 456.7 MB, free: 49.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3566, allocations: 0.7664 MB / 457.5 MB, free: 49.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3566, allocations: 2.719 kB / 457.5 MB, free: 49.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002512/0.3591, allocations: 1.309 MB / 458.8 MB, free: 49.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3592, allocations: 10.62 kB / 458.8 MB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3592, allocations: 3.469 kB / 458.8 MB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3604, allocations: 0.7597 MB / 459.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3609, allocations: 164.3 kB / 459.7 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.3628, allocations: 2.689 MB / 462.4 MB, free: 47.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.3637, allocations: 198.8 kB / 462.6 MB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.3638, allocations: 36.09 kB / 462.6 MB, free: 47.38 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.0003728/0.3642, allocations: 222.1 kB / 462.9 MB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3644, allocations: 56.62 kB / 462.9 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.3646, allocations: 87.06 kB / 463 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3646, allocations: 9.688 kB / 463 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3647, allocations: 4 kB / 463 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3647, allocations: 7.594 kB / 463 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.3686, allocations: 2.198 MB / 465.2 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3686, allocations: 0 / 465.2 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3691, allocations: 123 kB / 465.3 MB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.3702, allocations: 0.7238 MB / 466.1 MB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.3703, allocations: 32.17 kB / 466.1 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.372, allocations: 2.646 MB / 468.7 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3721, allocations: 6.672 kB / 468.7 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.3748, allocations: 1.815 MB / 470.6 MB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.3751, allocations: 221.5 kB / 470.8 MB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.3753, allocations: 28.56 kB / 470.8 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/0.3762, allocations: 180.3 kB / 471 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.3765, allocations: 142.8 kB / 471.1 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.3766, allocations: 37.33 kB / 471.2 MB, free: 43.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002916/0.3769, allocations: 291.8 kB / 471.4 MB, free: 42.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3769, allocations: 0 / 471.4 MB, free: 42.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008007/0.3777, allocations: 204.5 kB / 471.6 MB, free: 42.89 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.000241/0.378, allocations: 160.7 kB / 471.8 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.3799, allocations: 0.9677 MB / 472.8 MB, free: 42.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3799, allocations: 0 / 472.8 MB, free: 42.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.381, allocations: 0.5231 MB / 473.3 MB, free: 42.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.382, allocations: 103.2 kB / 473.4 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.3866, allocations: 2.65 MB / 476 MB, free: 40.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.387, allocations: 0.9111 MB / 477 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000278/0.3873, allocations: 61.48 kB / 477 MB, free: 39.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3874, allocations: 44.27 kB / 477.1 MB, free: 39.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3874, allocations: 0 / 477.1 MB, free: 39.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02328/0.4107, allocations: 14.47 MB / 491.5 MB, free: 39.15 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: