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.0008909/0.0008906, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00094/0.0009401, allocations: 168.7 kB / 15.95 MB, free: 204 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.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3504/0.3504, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.0005646/0.000565, allocations: 24 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.003598/0.1165, allocations: 3.367 MB / 437.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1187, allocations: 1.236 MB / 438.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.1191, allocations: 11.94 kB / 438.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1193, allocations: 83.33 kB / 438.7 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.1197, allocations: 178.7 kB / 438.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.1203, allocations: 251.6 kB / 439.1 MB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007766/0.121, allocations: 0.9092 MB / 440 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1213, allocations: 141.9 kB / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.1217, allocations: 386.6 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.1222, allocations: 438.4 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.1223, allocations: 40 kB / 441 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1225, allocations: 83.89 kB / 441 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1227, allocations: 155.4 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1228, allocations: 149.3 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.1234, allocations: 0.647 MB / 442 MB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1234, allocations: 0 / 442 MB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1234, allocations: 0 / 442 MB, free: 13.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1234, allocations: 3.938 kB / 442 MB, free: 13.47 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.001756/0.1252, allocations: 1.001 MB / 443 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1252, allocations: 12.02 kB / 443 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1254, allocations: 86.92 kB / 443.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.1259, allocations: 416.7 kB / 443.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1259, allocations: 49.31 kB / 443.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.126, allocations: 67.91 kB / 443.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1274, allocations: 0.8294 MB / 444.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1274, allocations: 7.906 kB / 444.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.1275, allocations: 24 kB / 444.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1275, allocations: 16 kB / 444.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.129, allocations: 0.797 MB / 445.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.1327, allocations: 2.636 MB / 447.9 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.134, allocations: 0.6437 MB / 448.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.1347, allocations: 388 kB / 448.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.1347, allocations: 8.375 kB / 449 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1348, allocations: 47.62 kB / 449 MB, free: 6.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.1348, allocations: 0 / 449 MB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.006965/0.1418, allocations: 3.725 MB / 452.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.1419, allocations: 136.5 kB / 452.9 MB, free: 2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.1424, allocations: 433.8 kB / 453.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.1424, allocations: 49.7 kB / 453.3 MB, free: 1.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1427, allocations: 284.3 kB / 453.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.1429, allocations: 268.4 kB / 453.9 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.143, allocations: 16 kB / 453.9 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1432, allocations: 362.8 kB / 454.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/0.1439, allocations: 401.8 kB / 454.6 MB, free: 192 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1942/0.3381, allocations: 0.554 MB / 455.2 MB, free: 50.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.3388, allocations: 355.6 kB / 455.5 MB, free: 50.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3389, allocations: 2.906 kB / 455.5 MB, free: 50.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002212/0.3411, allocations: 1.278 MB / 456.8 MB, free: 50.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3411, allocations: 6.5 kB / 456.8 MB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3411, allocations: 6.812 kB / 456.8 MB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.3423, allocations: 0.7583 MB / 457.6 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3428, allocations: 152.4 kB / 457.7 MB, free: 50.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.3446, allocations: 2.702 MB / 460.4 MB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.3454, allocations: 191.7 kB / 460.6 MB, free: 48.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.3454, allocations: 36.67 kB / 460.7 MB, free: 48.25 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.0002944/0.3457, allocations: 229.2 kB / 460.9 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3459, allocations: 61.84 kB / 460.9 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3461, allocations: 85.91 kB / 461 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3461, allocations: 9.594 kB / 461 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.3461, allocations: 0 / 461 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3461, allocations: 6.719 kB / 461 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.3494, allocations: 2.191 MB / 463.2 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3494, allocations: 0 / 463.2 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.3499, allocations: 124.6 kB / 463.4 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009442/0.3508, allocations: 0.7207 MB / 464.1 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.3509, allocations: 34.78 kB / 464.1 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3523, allocations: 2.635 MB / 466.7 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3523, allocations: 3.156 kB / 466.8 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.3548, allocations: 1.812 MB / 468.6 MB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.355, allocations: 222.5 kB / 468.8 MB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3552, allocations: 22.03 kB / 468.8 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.3559, allocations: 175.9 kB / 469 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.3562, allocations: 170.3 kB / 469.1 MB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.3562, allocations: 41.08 kB / 469.2 MB, free: 44.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.3565, allocations: 288.4 kB / 469.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3565, allocations: 3.938 kB / 469.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.3572, allocations: 196.3 kB / 469.7 MB, free: 43.98 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.0002205/0.3574, allocations: 156.9 kB / 469.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3592, allocations: 0.9733 MB / 470.8 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3592, allocations: 0 / 470.8 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009889/0.3602, allocations: 0.5133 MB / 471.3 MB, free: 43.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.3611, allocations: 102.3 kB / 471.4 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.3649, allocations: 2.571 MB / 474 MB, free: 41.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3653, allocations: 0.9121 MB / 474.9 MB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.3655, allocations: 67.75 kB / 474.9 MB, free: 41.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3657, allocations: 41.97 kB / 475 MB, free: 41.17 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3657, allocations: 0 / 475 MB, free: 41.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01934/0.385, allocations: 14.07 MB / 489.1 MB, free: 40.35 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: