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.0008456/0.0008455, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001004/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 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.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.4404/0.4404, allocations: 40 MB / 310.4 MB, free: 9.688 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.0005745/0.0005745, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.007427/0.2278, allocations: 3.371 MB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2322, allocations: 1.236 MB / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.2331, allocations: 11.94 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.2338, allocations: 83.33 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.235, allocations: 178.7 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.2365, allocations: 259.6 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.2385, allocations: 0.9014 MB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.239, allocations: 148.8 kB / 443 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2401, allocations: 382.6 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.2414, allocations: 434.5 kB / 443.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.2417, allocations: 43.94 kB / 443.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.2421, allocations: 83.95 kB / 443.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.2424, allocations: 155.4 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.2428, allocations: 145.3 kB / 444.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.244, allocations: 0.647 MB / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2441, allocations: 4 kB / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2441, allocations: 0 / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-05/0.2442, allocations: 0 / 444.8 MB, free: 10.2 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.003936/0.2481, allocations: 1.005 MB / 445.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.2482, allocations: 8.031 kB / 445.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/0.2486, allocations: 79.06 kB / 445.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.2497, allocations: 412.7 kB / 446.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/0.2499, allocations: 49.31 kB / 446.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.2501, allocations: 71.91 kB / 446.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.2526, allocations: 0.8294 MB / 447.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.609e-05/0.2527, allocations: 11.84 kB / 447.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.2529, allocations: 28 kB / 447.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.2529, allocations: 15.95 kB / 447.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.2555, allocations: 0.7932 MB / 448.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007094/0.2626, allocations: 2.64 MB / 450.8 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.2645, allocations: 0.6398 MB / 451.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.2656, allocations: 392 kB / 451.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.614e-05/0.2657, allocations: 8.359 kB / 451.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.2657, allocations: 43.94 kB / 451.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.458e-06/0.2657, allocations: 0 / 451.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.3312/0.5969, allocations: 3.731 MB / 455.6 MB, free: 48.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.597, allocations: 140.3 kB / 455.7 MB, free: 48.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.5975, allocations: 422.9 kB / 456.1 MB, free: 47.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.5976, allocations: 53.05 kB / 456.2 MB, free: 47.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.5978, allocations: 279.7 kB / 456.4 MB, free: 47.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.598, allocations: 267.5 kB / 456.7 MB, free: 47.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.598, allocations: 20.03 kB / 456.7 MB, free: 47.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5981, allocations: 372.1 kB / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.5988, allocations: 402 kB / 457.5 MB, free: 47.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.5996, allocations: 0.5535 MB / 458 MB, free: 47.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.6003, allocations: 357.8 kB / 458.4 MB, free: 47.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6003, allocations: 0 / 458.4 MB, free: 47.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00222/0.6025, allocations: 1.276 MB / 459.7 MB, free: 47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6025, allocations: 6.281 kB / 459.7 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6025, allocations: 6.531 kB / 459.7 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6038, allocations: 0.7572 MB / 460.4 MB, free: 46.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.6043, allocations: 159.9 kB / 460.6 MB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.6062, allocations: 2.689 MB / 463.3 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008329/0.6071, allocations: 200.5 kB / 463.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.6072, allocations: 37.16 kB / 463.5 MB, free: 44.82 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.000338/0.6075, allocations: 215.6 kB / 463.7 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.6077, allocations: 55.78 kB / 463.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.6079, allocations: 84.02 kB / 463.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6079, allocations: 9.312 kB / 463.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.6079, allocations: 6.219 kB / 463.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6079, allocations: 7.094 kB / 463.9 MB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.6115, allocations: 2.201 MB / 466.1 MB, free: 44.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6116, allocations: 0 / 466.1 MB, free: 44.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.6121, allocations: 123.6 kB / 466.2 MB, free: 44.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.6131, allocations: 0.7252 MB / 466.9 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.6132, allocations: 28.27 kB / 466.9 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.615, allocations: 2.641 MB / 469.6 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.615, allocations: 7.141 kB / 469.6 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.6178, allocations: 1.805 MB / 471.4 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.6182, allocations: 218.1 kB / 471.6 MB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.6183, allocations: 32.14 kB / 471.6 MB, free: 40.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/0.6191, allocations: 171.5 kB / 471.8 MB, free: 40.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.6194, allocations: 177.6 kB / 472 MB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.6195, allocations: 40.12 kB / 472 MB, free: 40.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.6199, allocations: 289 kB / 472.3 MB, free: 40.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6199, allocations: 0 / 472.3 MB, free: 40.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.6208, allocations: 201.9 kB / 472.5 MB, free: 40.24 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.0002626/0.621, allocations: 154.1 kB / 472.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.6232, allocations: 0.9625 MB / 473.6 MB, free: 39.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6232, allocations: 0 / 473.6 MB, free: 39.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6243, allocations: 0.5224 MB / 474.1 MB, free: 39.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.6252, allocations: 107.9 kB / 474.2 MB, free: 39.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.6303, allocations: 2.581 MB / 476.8 MB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.6308, allocations: 0.9046 MB / 477.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.6311, allocations: 61.42 kB / 477.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.6312, allocations: 46.56 kB / 477.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.6312, allocations: 3 kB / 477.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02644/0.6577, allocations: 14.06 MB / 491.9 MB, free: 36.45 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: