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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00169/0.00169, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.661/1.661, allocations: 205.1 MB / 222 MB, free: 4.957 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.4007/0.4007, allocations: 39.93 MB / 309.3 MB, free: 9.59 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.001482/0.001482, allocations: 63.92 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1544, allocations: 56.88 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005978/0.1605, allocations: 3.941 MB / 437.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.1639, allocations: 1.275 MB / 439 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.1643, allocations: 11.94 kB / 439 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1648, allocations: 87.41 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.1653, allocations: 182.5 kB / 439.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.1662, allocations: 299.6 kB / 439.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.1673, allocations: 0.9717 MB / 440.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.1676, allocations: 153.9 kB / 440.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.1682, allocations: 406.5 kB / 441.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.1688, allocations: 462.2 kB / 441.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1689, allocations: 48 kB / 441.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.1692, allocations: 99.94 kB / 441.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.1694, allocations: 167.4 kB / 441.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.1699, allocations: 366 kB / 442.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1711, allocations: 0.88 MB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1711, allocations: 4 kB / 443.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1712, allocations: 4 kB / 443.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1712, allocations: 0 / 443.1 MB, free: 11.13 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.002727/0.1739, allocations: 1.087 MB / 444.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.174, allocations: 8.031 kB / 444.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1742, allocations: 80 kB / 444.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.1748, allocations: 429.6 kB / 444.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.1749, allocations: 49.69 kB / 444.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.175, allocations: 64.12 kB / 444.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.1767, allocations: 0.8179 MB / 445.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.1767, allocations: 15.83 kB / 445.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.1768, allocations: 28 kB / 445.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.1768, allocations: 12 kB / 445.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.1786, allocations: 0.7773 MB / 446.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.1838, allocations: 2.562 MB / 449 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1854, allocations: 0.6345 MB / 449.7 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.1862, allocations: 379.3 kB / 450 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.1863, allocations: 8 kB / 450 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1864, allocations: 42.56 kB / 450.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.369e-06/0.1864, allocations: 0 / 450.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.008136/0.1945, allocations: 3.539 MB / 453.6 MB, free: 52 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3161/0.5106, allocations: 143.7 kB / 453.8 MB, free: 51.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/0.5115, allocations: 416.8 kB / 454.2 MB, free: 51.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003424/0.5119, allocations: 52.88 kB / 454.2 MB, free: 51.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.5122, allocations: 288.8 kB / 454.5 MB, free: 51.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.5124, allocations: 269.9 kB / 454.8 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.5128, allocations: 164.8 kB / 454.9 MB, free: 51.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5129, allocations: 369.2 kB / 455.3 MB, free: 50.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/0.5138, allocations: 391.5 kB / 455.7 MB, free: 50.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.5146, allocations: 0.5402 MB / 456.2 MB, free: 50.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5158, allocations: 0.7446 MB / 456.9 MB, free: 50.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5158, allocations: 2.844 kB / 457 MB, free: 50.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002627/0.5184, allocations: 1.279 MB / 458.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5185, allocations: 10.66 kB / 458.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5185, allocations: 3.438 kB / 458.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5199, allocations: 0.7592 MB / 459 MB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.5204, allocations: 146.8 kB / 459.1 MB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.5224, allocations: 2.693 MB / 461.8 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/0.5233, allocations: 140.7 kB / 462 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.5234, allocations: 40.7 kB / 462 MB, free: 47.74 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.000366/0.5238, allocations: 216.2 kB / 462.2 MB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5239, allocations: 61 kB / 462.3 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.5241, allocations: 84.95 kB / 462.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5241, allocations: 9 kB / 462.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.5241, allocations: 0 / 462.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5242, allocations: 6.594 kB / 462.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.5278, allocations: 2.174 MB / 464.6 MB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5278, allocations: 7.312 kB / 464.6 MB, free: 46.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.5284, allocations: 106.8 kB / 464.7 MB, free: 46.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.5295, allocations: 0.7274 MB / 465.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.5296, allocations: 28.61 kB / 465.4 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.5315, allocations: 2.642 MB / 468.1 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5315, allocations: 3.75 kB / 468.1 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.5346, allocations: 1.768 MB / 469.8 MB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.535, allocations: 216.4 kB / 470.1 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.5351, allocations: 29.53 kB / 470.1 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.5359, allocations: 126.4 kB / 470.2 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.5362, allocations: 142.1 kB / 470.3 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.5363, allocations: 38.75 kB / 470.4 MB, free: 42.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.5366, allocations: 289.1 kB / 470.7 MB, free: 42.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5366, allocations: 0 / 470.7 MB, free: 42.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000914/0.5375, allocations: 199.8 kB / 470.9 MB, free: 42.65 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.0002768/0.5378, allocations: 161.1 kB / 471 MB, free: 42.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5398, allocations: 0.9508 MB / 472 MB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5398, allocations: 0.6562 kB / 472 MB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.5409, allocations: 0.511 MB / 472.5 MB, free: 42.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.542, allocations: 109.7 kB / 472.6 MB, free: 42.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.547, allocations: 2.353 MB / 474.9 MB, free: 40.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.5474, allocations: 0.9102 MB / 475.8 MB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.5478, allocations: 64.58 kB / 475.9 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.5479, allocations: 52.28 kB / 476 MB, free: 39.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5479, allocations: 0 / 476 MB, free: 39.91 MB / 382.1 MB Notification: Performance of Templates: time 0.02748/0.5754, allocations: 14.57 MB / 490.5 MB, free: 38.97 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)