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.00757/0.00757, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00132/0.00132, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.367/0.367, allocations: 38 MB / 307.9 MB, free: 10.33 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.001626/0.001626, allocations: 71.89 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4432, allocations: 56.47 MB / 489.4 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.006376/0.4497, allocations: 3.913 MB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.4538, allocations: 1.284 MB / 494.6 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.4555, allocations: 12.69 kB / 494.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.4564, allocations: 114.8 kB / 494.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.4578, allocations: 212.6 kB / 495 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.4595, allocations: 346.2 kB / 495.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.4617, allocations: 1.025 MB / 496.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.4621, allocations: 177.5 kB / 496.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4632, allocations: 453.1 kB / 497 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000856/0.464, allocations: 490.9 kB / 497.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.4642, allocations: 77.09 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.4647, allocations: 134.5 kB / 497.6 MB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.465, allocations: 199.5 kB / 497.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.4655, allocations: 402.8 kB / 498.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.4672, allocations: 0.9441 MB / 499.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4672, allocations: 0.7969 kB / 499.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4672, allocations: 0 / 499.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.4672, allocations: 4 kB / 499.2 MB, free: 14.26 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.002574/0.4698, allocations: 1.082 MB / 0.4885 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.4699, allocations: 14.36 kB / 0.4885 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.4701, allocations: 81.78 kB / 0.4886 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.471, allocations: 438.8 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.4711, allocations: 47.77 kB / 0.4891 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.4712, allocations: 68.25 kB / 0.4892 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4732, allocations: 0.8215 MB / 0.49 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.4732, allocations: 16.58 kB / 0.49 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.4733, allocations: 26.03 kB / 0.49 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.4733, allocations: 14.84 kB / 0.49 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.4751, allocations: 0.7561 MB / 0.4908 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.4793, allocations: 2.551 MB / 0.4932 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4807, allocations: 0.6254 MB / 0.4939 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.4814, allocations: 383.1 kB / 0.4942 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.4815, allocations: 7.938 kB / 0.4942 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4815, allocations: 44.06 kB / 0.4943 GB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 3.607e-06/0.4816, allocations: 0 / 0.4943 GB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.007198/0.4888, allocations: 3.539 MB / 0.4977 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.4888, allocations: 140.4 kB / 0.4979 GB, free: 7.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.4893, allocations: 426 kB / 0.4983 GB, free: 7.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.4894, allocations: 54.38 kB / 0.4983 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.4896, allocations: 284 kB / 0.4986 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.4898, allocations: 265.3 kB / 0.4988 GB, free: 6.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.49, allocations: 176.1 kB / 0.499 GB, free: 6.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.4901, allocations: 363.8 kB / 0.4994 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.4909, allocations: 393.8 kB / 0.4997 GB, free: 6.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.4918, allocations: 0.542 MB / 0.5003 GB, free: 5.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.4932, allocations: 0.7375 MB / 0.501 GB, free: 5.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4932, allocations: 1.188 kB / 0.501 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002711/0.4959, allocations: 1.285 MB / 0.5022 GB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.496, allocations: 11.06 kB / 0.5022 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.496, allocations: 4.625 kB / 0.5023 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4975, allocations: 0.7536 MB / 0.503 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.4981, allocations: 146.9 kB / 0.5031 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4999, allocations: 2.695 MB / 0.5058 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.5008, allocations: 142.5 kB / 0.5059 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.501, allocations: 42.05 kB / 0.5059 GB, free: 1.98 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.000473/0.5014, allocations: 221.9 kB / 0.5061 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.5017, allocations: 62.03 kB / 0.5062 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5019, allocations: 88.86 kB / 0.5063 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5019, allocations: 8.562 kB / 0.5063 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.5019, allocations: 1.125 kB / 0.5063 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5019, allocations: 5.453 kB / 0.5063 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.5058, allocations: 2.173 MB / 0.5084 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.5059, allocations: 5.156 kB / 0.5084 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.5064, allocations: 119.4 kB / 0.5085 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.5077, allocations: 0.71 MB / 0.5092 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.5078, allocations: 32.98 kB / 0.5093 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.5105, allocations: 2.65 MB / 0.5119 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5105, allocations: 1.469 kB / 0.5119 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.5144, allocations: 1.775 MB / 0.5136 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.515, allocations: 222.2 kB / 0.5138 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5152, allocations: 26.69 kB / 0.5138 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.5162, allocations: 117.7 kB / 0.5139 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/0.5167, allocations: 150.7 kB / 0.5141 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5168, allocations: 33.22 kB / 0.5141 GB, free: 11.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.5172, allocations: 291.5 kB / 0.5144 GB, free: 11.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5173, allocations: 5.062 kB / 0.5144 GB, free: 11.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001226/0.5185, allocations: 195.7 kB / 0.5146 GB, free: 11.73 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.0003774/0.5189, allocations: 161.5 kB / 0.5147 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.5216, allocations: 0.9458 MB / 0.5157 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.5217, allocations: 0 / 0.5157 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.5232, allocations: 0.512 MB / 0.5162 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5244, allocations: 112.8 kB / 0.5163 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.5298, allocations: 2.071 MB / 0.5183 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.5307, allocations: 0.9027 MB / 0.5192 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.531, allocations: 68.83 kB / 0.5192 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5312, allocations: 55.41 kB / 0.5193 GB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5312, allocations: 7.938 kB / 0.5193 GB, free: 8.043 MB / 398.1 MB Notification: Performance of Templates: time 0.03166/0.5629, allocations: 15.83 MB / 0.5348 GB, free: 8.207 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)