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.001239/0.001239, allocations: 115.3 kB / 15.34 MB, free: 0.5039 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.00136/0.001361, allocations: 198.2 kB / 16.26 MB, free: 6.633 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.551/1.551, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3426/0.3426, allocations: 37.98 MB / 307.4 MB, free: 10.04 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.001981/0.00198, allocations: 66.67 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1491, allocations: 56.47 MB / 431.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.006369/0.1555, allocations: 3.941 MB / 435.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1583, allocations: 1.267 MB / 436.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.1586, allocations: 15.94 kB / 436.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.159, allocations: 83.33 kB / 436.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1594, allocations: 178.7 kB / 436.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.1602, allocations: 307.6 kB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009495/0.1611, allocations: 1.022 MB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1615, allocations: 182.3 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.1621, allocations: 446.5 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.1626, allocations: 490.2 kB / 439.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1627, allocations: 76 kB / 439.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1629, allocations: 127.9 kB / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1631, allocations: 199.4 kB / 439.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.1635, allocations: 406 kB / 439.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.1644, allocations: 0.923 MB / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1644, allocations: 0 / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1644, allocations: 0 / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1645, allocations: 0 / 440.8 MB, free: 13.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.001973/0.1664, allocations: 1.091 MB / 441.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1665, allocations: 11.89 kB / 441.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1667, allocations: 84 kB / 442 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.1672, allocations: 433.6 kB / 442.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.1672, allocations: 45.69 kB / 442.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1673, allocations: 72.03 kB / 442.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.1687, allocations: 0.8218 MB / 443.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.1688, allocations: 7.891 kB / 443.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.1688, allocations: 28 kB / 443.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1689, allocations: 16 kB / 443.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1703, allocations: 0.7628 MB / 444.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.174, allocations: 2.562 MB / 446.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.1754, allocations: 0.6307 MB / 447.4 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.176, allocations: 379.2 kB / 447.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.1761, allocations: 11.98 kB / 447.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1762, allocations: 46.5 kB / 447.8 MB, free: 6.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/0.1762, allocations: 0 / 447.8 MB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.007293/0.1835, allocations: 3.551 MB / 451.3 MB, free: 2.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.1836, allocations: 136.5 kB / 451.5 MB, free: 2.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.184, allocations: 421.8 kB / 451.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.1841, allocations: 53.7 kB / 451.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1843, allocations: 280.3 kB / 452.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1845, allocations: 268.5 kB / 452.5 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.1848, allocations: 170.5 kB / 452.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.185, allocations: 370.8 kB / 453 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.1857, allocations: 389.8 kB / 453.4 MB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2415/0.4271, allocations: 0.5461 MB / 453.9 MB, free: 53.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.4284, allocations: 0.731 MB / 454.7 MB, free: 53.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4284, allocations: 0 / 454.7 MB, free: 53.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002603/0.431, allocations: 1.281 MB / 455.9 MB, free: 53.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4311, allocations: 6.656 kB / 455.9 MB, free: 53.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.4311, allocations: 6.625 kB / 455.9 MB, free: 53.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.4323, allocations: 0.7623 MB / 456.7 MB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.4328, allocations: 150.8 kB / 456.9 MB, free: 53.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.4346, allocations: 2.683 MB / 459.5 MB, free: 50.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.4355, allocations: 149.7 kB / 459.7 MB, free: 50.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.4355, allocations: 37.75 kB / 459.7 MB, free: 50.93 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.0003496/0.4359, allocations: 221.5 kB / 459.9 MB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4361, allocations: 69.5 kB / 460 MB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.4362, allocations: 86.88 kB / 460.1 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4363, allocations: 9.688 kB / 460.1 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4363, allocations: 0 / 460.1 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.4363, allocations: 6.516 kB / 460.1 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.4395, allocations: 2.161 MB / 462.3 MB, free: 49.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.4395, allocations: 0 / 462.3 MB, free: 49.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.44, allocations: 110.2 kB / 462.4 MB, free: 49.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009702/0.441, allocations: 0.735 MB / 463.1 MB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.4411, allocations: 28.59 kB / 463.1 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.4426, allocations: 2.646 MB / 465.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4426, allocations: 0 / 465.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4454, allocations: 1.77 MB / 467.6 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.4457, allocations: 222.1 kB / 467.8 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4458, allocations: 27.44 kB / 467.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.4466, allocations: 127.7 kB / 467.9 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.4469, allocations: 150.4 kB / 468.1 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.447, allocations: 32.77 kB / 468.1 MB, free: 46.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.4473, allocations: 294.3 kB / 468.4 MB, free: 45.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4473, allocations: 0 / 468.4 MB, free: 45.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007553/0.448, allocations: 204.8 kB / 468.6 MB, free: 45.94 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.000243/0.4483, allocations: 152.5 kB / 468.7 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4501, allocations: 0.9681 MB / 469.7 MB, free: 45.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4501, allocations: 3.188 kB / 469.7 MB, free: 45.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.4512, allocations: 0.5153 MB / 470.2 MB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.4521, allocations: 104 kB / 470.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.4564, allocations: 2.36 MB / 472.7 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4567, allocations: 0.906 MB / 473.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.457, allocations: 65.53 kB / 473.7 MB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.4572, allocations: 56.09 kB / 473.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4572, allocations: 0 / 473.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02405/0.4812, allocations: 15.41 MB / 489.1 MB, free: 42.12 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)