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.001235/0.001235, 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.001448/0.001447, allocations: 192.3 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.647/1.647, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.4719/0.4719, allocations: 39.95 MB / 309.7 MB, free: 9.246 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.001678/0.001678, allocations: 78.33 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1759, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.006201/0.1822, allocations: 3.911 MB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1854, allocations: 1.286 MB / 439.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.1858, allocations: 11.94 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.1863, allocations: 110.9 kB / 439.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.1868, allocations: 202.2 kB / 440 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.1878, allocations: 355.3 kB / 440.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.1889, allocations: 1.019 MB / 441.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1892, allocations: 174.4 kB / 441.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.1898, allocations: 438.6 kB / 442 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.1904, allocations: 490.2 kB / 442.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1906, allocations: 80 kB / 442.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.1909, allocations: 131.8 kB / 442.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.1911, allocations: 203.4 kB / 442.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.1915, allocations: 402.1 kB / 443.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1926, allocations: 0.923 MB / 444.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1926, allocations: 0 / 444.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1926, allocations: 0 / 444.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.1927, allocations: 0 / 444.2 MB, free: 9.949 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.002271/0.195, allocations: 1.079 MB / 445.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.195, allocations: 15.89 kB / 445.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.1952, allocations: 80 kB / 445.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.1958, allocations: 441.5 kB / 445.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.1958, allocations: 45.69 kB / 445.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.196, allocations: 68.11 kB / 445.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1975, allocations: 0.8218 MB / 446.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.1975, allocations: 11.91 kB / 446.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.1976, allocations: 24 kB / 446.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1976, allocations: 16 kB / 446.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.1993, allocations: 0.7657 MB / 447.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004512/0.2038, allocations: 2.562 MB / 450.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.2051, allocations: 0.6382 MB / 450.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/0.2059, allocations: 371.3 kB / 451.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.124e-05/0.206, allocations: 8 kB / 451.1 MB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.206, allocations: 50.5 kB / 451.1 MB, free: 2.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.946e-06/0.206, allocations: 0 / 451.1 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.3184/0.5244, allocations: 3.527 MB / 454.7 MB, free: 51.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.5245, allocations: 139.5 kB / 454.8 MB, free: 51.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.5251, allocations: 427.2 kB / 455.2 MB, free: 51.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5252, allocations: 51.88 kB / 455.3 MB, free: 51.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5254, allocations: 281.7 kB / 455.5 MB, free: 51.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.5257, allocations: 270.9 kB / 455.8 MB, free: 50.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.526, allocations: 173.6 kB / 456 MB, free: 50.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5262, allocations: 367.9 kB / 456.3 MB, free: 50.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.5269, allocations: 387.9 kB / 456.7 MB, free: 50.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.5276, allocations: 0.549 MB / 457.3 MB, free: 50.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5288, allocations: 0.7368 MB / 458 MB, free: 50.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5288, allocations: 6.781 kB / 458 MB, free: 50.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002582/0.5314, allocations: 1.293 MB / 459.3 MB, free: 49.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.5315, allocations: 6.406 kB / 459.3 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5315, allocations: 5.438 kB / 459.3 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.533, allocations: 0.7667 MB / 460.1 MB, free: 49.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.5336, allocations: 147.9 kB / 460.2 MB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.5357, allocations: 2.687 MB / 462.9 MB, free: 47.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.5367, allocations: 145.2 kB / 463.1 MB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.5368, allocations: 33.16 kB / 463.1 MB, free: 47.23 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.0004443/0.5372, allocations: 219.8 kB / 463.3 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5374, allocations: 64.41 kB / 463.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.5376, allocations: 86.73 kB / 463.4 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.5377, allocations: 6.344 kB / 463.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/0.5377, allocations: 3.219 kB / 463.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5377, allocations: 3.281 kB / 463.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/0.5414, allocations: 2.174 MB / 465.6 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5414, allocations: 4 kB / 465.6 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.5419, allocations: 111.5 kB / 465.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.5431, allocations: 0.726 MB / 466.5 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.5431, allocations: 31.81 kB / 466.5 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.5451, allocations: 2.643 MB / 469.1 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.5451, allocations: 5.188 kB / 469.2 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.5481, allocations: 1.77 MB / 470.9 MB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.5484, allocations: 226.9 kB / 471.1 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5486, allocations: 32.47 kB / 471.2 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.5494, allocations: 118.6 kB / 471.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.5497, allocations: 152.9 kB / 471.4 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.5498, allocations: 33.97 kB / 471.5 MB, free: 42.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.5501, allocations: 289.9 kB / 471.8 MB, free: 42.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5501, allocations: 0 / 471.8 MB, free: 42.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.5509, allocations: 195.9 kB / 471.9 MB, free: 42.12 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.0002671/0.5512, allocations: 164.8 kB / 472.1 MB, free: 42.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.5532, allocations: 0.9634 MB / 473.1 MB, free: 41.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5533, allocations: 2.969 kB / 473.1 MB, free: 41.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5543, allocations: 0.5063 MB / 473.6 MB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.5553, allocations: 123.9 kB / 473.7 MB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.56, allocations: 2.092 MB / 475.8 MB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5604, allocations: 0.909 MB / 476.7 MB, free: 39.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.5607, allocations: 61.8 kB / 476.8 MB, free: 39.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5608, allocations: 47.12 kB / 476.8 MB, free: 39.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.5608, allocations: 0 / 476.8 MB, free: 39.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03038/0.5912, allocations: 15.67 MB / 492.5 MB, free: 37.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction.makefile (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)