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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001435, allocations: 99.86 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.001717/0.001717, 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.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4011/0.4011, allocations: 40 MB / 310.4 MB, free: 9.656 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.2. 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.0007187/0.000719, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.161, allocations: 57.96 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005141/0.1662, allocations: 3.161 MB / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.1694, allocations: 1.279 MB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009246/0.1704, allocations: 11.94 kB / 441.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1709, allocations: 75.39 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1721, allocations: 247.3 kB / 441.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1733, allocations: 255.6 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.1751, allocations: 0.6378 MB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.1755, allocations: 144.9 kB / 442.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009062/0.1764, allocations: 382.7 kB / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009403/0.1773, allocations: 430.4 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.1777, allocations: 44 kB / 443.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.1783, allocations: 79.95 kB / 443.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.1787, allocations: 163.3 kB / 443.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.179, allocations: 149.3 kB / 443.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.18, allocations: 0.6391 MB / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.18, allocations: 0 / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.18, allocations: 4 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.265e-05/0.1801, allocations: 0 / 444.4 MB, free: 10.61 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.002351/0.1824, allocations: 1.001 MB / 445.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1825, allocations: 12.03 kB / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1826, allocations: 79.06 kB / 445.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.1834, allocations: 408.8 kB / 445.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.1834, allocations: 49.31 kB / 446 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.1836, allocations: 67.89 kB / 446 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1852, allocations: 0.8255 MB / 446.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.1852, allocations: 15.84 kB / 446.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.1853, allocations: 20 kB / 446.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1854, allocations: 23.95 kB / 446.9 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.1869, allocations: 0.7854 MB / 447.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.1916, allocations: 2.632 MB / 450.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.1929, allocations: 0.6476 MB / 451 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.193, allocations: 16.36 kB / 451 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1931, allocations: 46.94 kB / 451 MB, free: 3.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.1931, allocations: 0 / 451 MB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.2956/0.4887, allocations: 3.715 MB / 454.7 MB, free: 48.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4888, allocations: 143.1 kB / 454.9 MB, free: 48.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.4893, allocations: 421.4 kB / 455.3 MB, free: 48.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.4895, allocations: 54.66 kB / 455.4 MB, free: 48.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.4897, allocations: 278.9 kB / 455.6 MB, free: 47.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.4899, allocations: 271.9 kB / 455.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.49, allocations: 18.12 kB / 455.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.4901, allocations: 367.9 kB / 456.3 MB, free: 47.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.4907, allocations: 405.8 kB / 456.7 MB, free: 47.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.4915, allocations: 0.5439 MB / 457.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.4921, allocations: 357.4 kB / 457.6 MB, free: 47.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4922, allocations: 0 / 457.6 MB, free: 47.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002315/0.4945, allocations: 1.278 MB / 458.8 MB, free: 47.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4945, allocations: 7.953 kB / 458.8 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4945, allocations: 6.188 kB / 458.8 MB, free: 47.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.4957, allocations: 0.7599 MB / 459.6 MB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.4962, allocations: 156.7 kB / 459.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.4981, allocations: 2.695 MB / 462.5 MB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.499, allocations: 195.2 kB / 462.6 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.4991, allocations: 40.88 kB / 462.7 MB, free: 45.11 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.0003473/0.4994, allocations: 203.2 kB / 462.9 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.4996, allocations: 65.95 kB / 462.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4998, allocations: 88.52 kB / 463 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4998, allocations: 8.812 kB / 463 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.4998, allocations: 7.469 kB / 463.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4998, allocations: 10.27 kB / 463.1 MB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.5036, allocations: 2.199 MB / 465.3 MB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5036, allocations: 0 / 465.3 MB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.5042, allocations: 124 kB / 465.4 MB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.5052, allocations: 0.7169 MB / 466.1 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.5053, allocations: 31.83 kB / 466.1 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.5071, allocations: 2.644 MB / 468.8 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5071, allocations: 0 / 468.8 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.5101, allocations: 1.844 MB / 470.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.5105, allocations: 218.2 kB / 470.8 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.5106, allocations: 26.38 kB / 470.9 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.5116, allocations: 187.8 kB / 471 MB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.5119, allocations: 167.7 kB / 471.2 MB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.512, allocations: 32.52 kB / 471.2 MB, free: 40.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003721/0.5124, allocations: 288.8 kB / 471.5 MB, free: 40.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5124, allocations: 0 / 471.5 MB, free: 40.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.5136, allocations: 197.3 kB / 471.7 MB, free: 40.56 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.0004003/0.514, allocations: 154.6 kB / 471.9 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.5164, allocations: 0.9746 MB / 472.8 MB, free: 40.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5165, allocations: 0 / 472.8 MB, free: 40.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.5177, allocations: 0.5133 MB / 473.4 MB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.5186, allocations: 97 kB / 473.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.5239, allocations: 2.57 MB / 476 MB, free: 38.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.5244, allocations: 0.9238 MB / 476.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.5247, allocations: 62.58 kB / 477 MB, free: 37.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5249, allocations: 40.52 kB / 477 MB, free: 37.76 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5249, allocations: 7.031 kB / 477 MB, free: 37.76 MB / 382.1 MB Notification: Performance of Templates: time 0.03105/0.5559, allocations: 14.04 MB / 491.1 MB, free: 36.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: