Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007329/0.007329, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001602/0.001601, allocations: 200.2 kB / 16.68 MB, free: 5.906 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3306/0.3306, allocations: 38 MB / 307.9 MB, free: 10.04 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.001663/0.001663, allocations: 71.84 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4218, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005788/0.4277, allocations: 2.236 MB / 491.7 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4298, allocations: 0.7701 MB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.4302, allocations: 7.656 kB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.4305, allocations: 37.91 kB / 492.5 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.4309, allocations: 71.19 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.4316, allocations: 135.4 kB / 492.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.4323, allocations: 331.2 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.4326, allocations: 85.25 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.4331, allocations: 144.9 kB / 493.3 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.4335, allocations: 154.3 kB / 493.4 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.4336, allocations: 26.5 kB / 493.4 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.4339, allocations: 81.84 kB / 493.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.4341, allocations: 62.98 kB / 493.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.4343, allocations: 131.6 kB / 493.7 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.435, allocations: 345.1 kB / 494 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.435, allocations: 0 / 494 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.435, allocations: 5.062 kB / 494 MB, free: 17.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.435, allocations: 0 / 494 MB, free: 17.09 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001355/0.4364, allocations: 0.5488 MB / 494.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4365, allocations: 14.03 kB / 494.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.4366, allocations: 25.06 kB / 494.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.4372, allocations: 261.5 kB / 494.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.4372, allocations: 18.12 kB / 494.9 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.4373, allocations: 19 kB / 494.9 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.438, allocations: 273.6 kB / 495.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.438, allocations: 2.609 kB / 495.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4381, allocations: 9.312 kB / 495.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4381, allocations: 6.219 kB / 495.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.4387, allocations: 233.5 kB / 495.4 MB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.4405, allocations: 0.7266 MB / 496.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.4413, allocations: 235.7 kB / 496.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.4416, allocations: 139.7 kB / 496.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4417, allocations: 7.219 kB / 496.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.4417, allocations: 35.69 kB / 496.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.4417, allocations: 0 / 496.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003798/0.4455, allocations: 1.464 MB / 498 MB, free: 14.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4456, allocations: 62.64 kB / 498.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.4459, allocations: 198.4 kB / 498.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.4459, allocations: 33.02 kB / 498.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.446, allocations: 135.4 kB / 498.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4461, allocations: 112.2 kB / 498.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4463, allocations: 65.55 kB / 498.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.4464, allocations: 339.6 kB / 499 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.4467, allocations: 121.2 kB / 499.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.447, allocations: 162.7 kB / 499.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.4475, allocations: 254.7 kB / 499.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4475, allocations: 4 kB / 499.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000936/0.4485, allocations: 430.2 kB / 499.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4485, allocations: 6.031 kB / 499.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4485, allocations: 1.625 kB / 499.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.4491, allocations: 235.6 kB / 0.4884 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4494, allocations: 53.62 kB / 0.4885 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/0.4502, allocations: 0.7529 MB / 0.4892 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.4505, allocations: 34.48 kB / 0.4892 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.4505, allocations: 14.48 kB / 0.4893 GB, free: 12.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.4507, allocations: 149.3 kB / 0.4894 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.4508, allocations: 22.62 kB / 0.4894 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.369e-05/0.4509, allocations: 37.62 kB / 0.4895 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4509, allocations: 2.875 kB / 0.4895 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4509, allocations: 1.5 kB / 0.4895 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4509, allocations: 2.25 kB / 0.4895 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.4528, allocations: 0.951 MB / 0.4904 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4528, allocations: 0 / 0.4904 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4531, allocations: 53.5 kB / 0.4904 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.4536, allocations: 220.4 kB / 0.4906 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.4536, allocations: 9.531 kB / 0.4907 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/0.4543, allocations: 0.7137 MB / 0.4914 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4543, allocations: 1.344 kB / 0.4914 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.4556, allocations: 0.6529 MB / 0.492 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.4558, allocations: 126.3 kB / 0.4921 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.4559, allocations: 11.62 kB / 0.4921 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.4562, allocations: 33.34 kB / 0.4922 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.4564, allocations: 47.08 kB / 0.4922 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.4564, allocations: 13.91 kB / 0.4922 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.4566, allocations: 148.6 kB / 0.4924 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4566, allocations: 4.062 kB / 0.4924 GB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006603/0.4573, allocations: 78.11 kB / 0.4924 GB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003477/0.4576, allocations: 133.4 kB / 0.4926 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009555/0.4586, allocations: 313.5 kB / 0.4929 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4586, allocations: 1.969 kB / 0.4929 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.459, allocations: 170.5 kB / 0.493 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.4595, allocations: 44.53 kB / 0.4931 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4617, allocations: 0.7354 MB / 0.4938 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.462, allocations: 0.7505 MB / 0.4945 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4621, allocations: 28.23 kB / 0.4945 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4622, allocations: 25.12 kB / 0.4946 GB, free: 9.199 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4622, allocations: 0.9375 kB / 0.4946 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Templates: time 0.0142/0.4764, allocations: 5.307 MB / 0.4998 GB, free: 7.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)