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.008267/0.008267, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.002122/0.002122, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.653/1.653, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3709/0.3709, allocations: 39.95 MB / 309.8 MB, free: 9.477 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.001997/0.001997, allocations: 75.88 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4525, allocations: 56.87 MB / 492.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005809/0.4583, allocations: 3.931 MB / 496.6 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.4614, allocations: 1.285 MB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.4619, allocations: 17.47 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.4623, allocations: 110.9 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.4628, allocations: 202.2 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4639, allocations: 343.3 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.4652, allocations: 1.029 MB / 499.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.4656, allocations: 179.1 kB / 499.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/0.4664, allocations: 448.5 kB / 0.4884 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009156/0.4673, allocations: 495.4 kB / 0.4889 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4675, allocations: 77.62 kB / 0.489 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.4678, allocations: 133.7 kB / 0.4891 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.4681, allocations: 199.7 kB / 0.4893 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.4685, allocations: 399.3 kB / 0.4897 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.4697, allocations: 0.9354 MB / 0.4906 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4697, allocations: 4.562 kB / 0.4906 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4698, allocations: 1.031 kB / 0.4906 GB, free: 13.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.4698, allocations: 0 / 0.4906 GB, free: 13.5 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.002464/0.4723, allocations: 1.086 MB / 0.4917 GB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4723, allocations: 13.48 kB / 0.4917 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.4725, allocations: 78.5 kB / 0.4917 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008114/0.4733, allocations: 446.2 kB / 0.4922 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.4734, allocations: 47.81 kB / 0.4922 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4735, allocations: 72.89 kB / 0.4923 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.4755, allocations: 0.8176 MB / 0.4931 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.4756, allocations: 6.688 kB / 0.4931 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.4757, allocations: 26.98 kB / 0.4931 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.4757, allocations: 15.34 kB / 0.4931 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.4774, allocations: 0.7613 MB / 0.4939 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.4819, allocations: 2.552 MB / 0.4964 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4835, allocations: 0.6282 MB / 0.497 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.4842, allocations: 382 kB / 0.4973 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.4843, allocations: 11.14 kB / 0.4974 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4843, allocations: 47.44 kB / 0.4974 GB, free: 8.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.4844, allocations: 0 / 0.4974 GB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.00818/0.4925, allocations: 3.532 MB / 0.5008 GB, free: 6.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.4926, allocations: 139.8 kB / 0.501 GB, free: 6.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.4933, allocations: 421.5 kB / 0.5014 GB, free: 6.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.4934, allocations: 59.02 kB / 0.5014 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.4936, allocations: 284.9 kB / 0.5017 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.4937, allocations: 267.6 kB / 0.502 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.4941, allocations: 169.5 kB / 0.5021 GB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4942, allocations: 368.2 kB / 0.5025 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008237/0.495, allocations: 384.6 kB / 0.5028 GB, free: 4.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009612/0.496, allocations: 0.5495 MB / 0.5034 GB, free: 4.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4974, allocations: 0.7418 MB / 0.5041 GB, free: 4.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4974, allocations: 1.656 kB / 0.5041 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002717/0.5001, allocations: 1.273 MB / 0.5054 GB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.5002, allocations: 10.81 kB / 0.5054 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5002, allocations: 8.625 kB / 0.5054 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.5015, allocations: 0.7688 MB / 0.5061 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.502, allocations: 142.6 kB / 0.5063 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5041, allocations: 2.7 MB / 0.5089 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5051, allocations: 140.2 kB / 0.509 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/0.5052, allocations: 39.42 kB / 0.5091 GB, free: 0.4922 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.0004743/0.5057, allocations: 221.9 kB / 0.5093 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.5059, allocations: 65.86 kB / 0.5093 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.5061, allocations: 81.33 kB / 0.5094 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.5061, allocations: 7.938 kB / 0.5094 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.5061, allocations: 1.375 kB / 0.5094 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5062, allocations: 9.297 kB / 0.5094 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/0.5107, allocations: 2.169 MB / 0.5116 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5108, allocations: 1.375 kB / 0.5116 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.5114, allocations: 111.9 kB / 0.5117 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.5128, allocations: 0.7215 MB / 0.5124 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.5129, allocations: 31.8 kB / 0.5124 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.5154, allocations: 2.648 MB / 0.515 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5154, allocations: 5.875 kB / 0.515 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.5191, allocations: 1.767 MB / 0.5167 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.5196, allocations: 224.1 kB / 0.5169 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5197, allocations: 24.12 kB / 0.517 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.5206, allocations: 127.8 kB / 0.5171 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/0.521, allocations: 151.7 kB / 0.5172 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.521, allocations: 35.97 kB / 0.5173 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.5214, allocations: 291.1 kB / 0.5175 GB, free: 9.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5214, allocations: 0 / 0.5175 GB, free: 9.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.5224, allocations: 196 kB / 0.5177 GB, free: 9.738 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.0002844/0.5227, allocations: 155.1 kB / 0.5179 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.525, allocations: 0.9493 MB / 0.5188 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.525, allocations: 0 / 0.5188 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.5262, allocations: 0.5085 MB / 0.5193 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/0.5272, allocations: 111.1 kB / 0.5194 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.5322, allocations: 2.077 MB / 0.5214 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.5327, allocations: 0.9066 MB / 0.5223 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.533, allocations: 60.83 kB / 0.5224 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.5331, allocations: 51.41 kB / 0.5224 GB, free: 4.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5331, allocations: 4 kB / 0.5224 GB, free: 4.848 MB / 398.1 MB Notification: Performance of Templates: time 0.02501/0.5581, allocations: 16.49 MB / 0.5385 GB, free: 4.359 MB / 414.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)