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.006819/0.006819, allocations: 101.7 kB / 15.73 MB, free: 6.012 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.001279/0.001279, allocations: 193.1 kB / 16.67 MB, free: 5.949 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.289 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.362/0.362, allocations: 37.99 MB / 307.9 MB, free: 10.46 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.001509/0.001509, allocations: 72.47 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3706, allocations: 56.47 MB / 489.4 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005483/0.3761, allocations: 3.914 MB / 493.4 MB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3792, allocations: 1.284 MB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.3797, allocations: 12.84 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.3801, allocations: 111.7 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.3805, allocations: 210 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.3815, allocations: 342 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3829, allocations: 1.028 MB / 496.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.3832, allocations: 181.4 kB / 496.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.384, allocations: 453.4 kB / 497 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/0.3847, allocations: 496.2 kB / 497.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.3849, allocations: 76.94 kB / 497.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.3852, allocations: 129.8 kB / 497.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.3854, allocations: 203.4 kB / 497.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.3859, allocations: 397.8 kB / 498.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3873, allocations: 0.9412 MB / 499.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3873, allocations: 4 kB / 499.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3873, allocations: 0 / 499.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.3873, allocations: 0.7969 kB / 499.2 MB, free: 13.97 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.002483/0.3898, allocations: 1.082 MB / 0.4885 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3898, allocations: 13.02 kB / 0.4885 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.39, allocations: 83.61 kB / 0.4886 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.3908, allocations: 437.5 kB / 0.489 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.3909, allocations: 47.5 kB / 0.4891 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.391, allocations: 68.88 kB / 0.4892 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3929, allocations: 0.8253 MB / 0.49 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.3929, allocations: 8.156 kB / 0.49 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.393, allocations: 29.34 kB / 0.49 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.393, allocations: 15 kB / 0.49 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3947, allocations: 0.756 MB / 0.4907 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/0.3993, allocations: 2.559 MB / 0.4932 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.4008, allocations: 0.6267 MB / 0.4939 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008032/0.4016, allocations: 373.6 kB / 0.4942 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.4017, allocations: 11.91 kB / 0.4942 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4018, allocations: 43.45 kB / 0.4943 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.4018, allocations: 0 / 0.4943 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.008011/0.4098, allocations: 3.538 MB / 0.4977 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4099, allocations: 144.9 kB / 0.4979 GB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.4104, allocations: 426 kB / 0.4983 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.4105, allocations: 49.34 kB / 0.4983 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.4107, allocations: 286.1 kB / 0.4986 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4108, allocations: 259.4 kB / 0.4988 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4111, allocations: 177.2 kB / 0.499 GB, free: 6.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.4112, allocations: 368.1 kB / 0.4994 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.412, allocations: 392.6 kB / 0.4997 GB, free: 6.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.4128, allocations: 0.5417 MB / 0.5003 GB, free: 5.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.4141, allocations: 0.7417 MB / 0.501 GB, free: 5.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4141, allocations: 5.562 kB / 0.501 GB, free: 5.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002575/0.4167, allocations: 1.276 MB / 0.5022 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4167, allocations: 15.78 kB / 0.5022 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4168, allocations: 4.469 kB / 0.5023 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.4182, allocations: 0.7492 MB / 0.503 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.4187, allocations: 159.1 kB / 0.5031 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.4205, allocations: 2.691 MB / 0.5058 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.4214, allocations: 141.4 kB / 0.5059 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.4215, allocations: 38.14 kB / 0.5059 GB, free: 1.871 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.0003727/0.4219, allocations: 214.8 kB / 0.5061 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4222, allocations: 65.19 kB / 0.5062 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.4223, allocations: 86.19 kB / 0.5063 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4224, allocations: 12.75 kB / 0.5063 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.4224, allocations: 5.25 kB / 0.5063 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.4224, allocations: 5.297 kB / 0.5063 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.426, allocations: 2.168 MB / 0.5084 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.426, allocations: 5.719 kB / 0.5084 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.4266, allocations: 116.7 kB / 0.5085 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.4279, allocations: 0.7164 MB / 0.5092 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.4279, allocations: 28.5 kB / 0.5093 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.4305, allocations: 2.655 MB / 0.5119 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4306, allocations: 5.266 kB / 0.5119 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.4339, allocations: 1.771 MB / 0.5136 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.4344, allocations: 221.8 kB / 0.5138 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4346, allocations: 26.69 kB / 0.5138 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/0.4354, allocations: 122.7 kB / 0.5139 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/0.4358, allocations: 145.8 kB / 0.5141 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/0.4359, allocations: 41.67 kB / 0.5141 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004502/0.4364, allocations: 287.8 kB / 0.5144 GB, free: 11.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4364, allocations: 0 / 0.5144 GB, free: 11.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001205/0.4376, allocations: 195.8 kB / 0.5146 GB, free: 11.63 MB / 398.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.0003673/0.438, allocations: 162.4 kB / 0.5147 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.4403, allocations: 0.9383 MB / 0.5157 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4403, allocations: 128 / 0.5157 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4415, allocations: 0.5114 MB / 0.5162 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.4425, allocations: 124.2 kB / 0.5163 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.4474, allocations: 2.065 MB / 0.5183 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.4479, allocations: 0.9105 MB / 0.5192 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.4482, allocations: 68.81 kB / 0.5192 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4484, allocations: 51.42 kB / 0.5193 GB, free: 8.039 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4484, allocations: 0 / 0.5193 GB, free: 8.039 MB / 398.1 MB Notification: Performance of Templates: time 0.02464/0.473, allocations: 16.47 MB / 0.5354 GB, free: 7.562 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestFriction.makefile (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)