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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.005942/0.005942, allocations: 167.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.8 MB / 186.6 MB, free: 1.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001453/0.001452, allocations: 113.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3655/0.3655, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 8 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 48.71 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4734, allocations: 76.89 MB / 488.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4737, allocations: 74.64 kB / 488.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.4847, allocations: 4.315 MB / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4848, allocations: 0 / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.4848, allocations: 16 kB / 492.9 MB, free: 7.121 MB / 330.7 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.0007228/0.4856, allocations: 0.5359 MB / 493.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4856, allocations: 8.031 kB / 493.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.4857, allocations: 23.72 kB / 493.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4859, allocations: 242.2 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.486, allocations: 14.62 kB / 493.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.486, allocations: 28.97 kB / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.4865, allocations: 262.9 kB / 494 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4865, allocations: 0 / 494 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4865, allocations: 14.56 kB / 494 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4866, allocations: 8 kB / 494 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.487, allocations: 235.6 kB / 494.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.4882, allocations: 0.739 MB / 495 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.4887, allocations: 250 kB / 495.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4887, allocations: 4 kB / 495.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4887, allocations: 33.81 kB / 495.2 MB, free: 5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.4887, allocations: 4 kB / 495.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002786/0.4915, allocations: 1.555 MB / 496.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4916, allocations: 55.41 kB / 496.8 MB, free: 3.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4917, allocations: 181.1 kB / 497 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4918, allocations: 39.27 kB / 497.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4918, allocations: 139.3 kB / 497.2 MB, free: 3.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.4919, allocations: 106 kB / 497.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.4919, allocations: 14.61 kB / 497.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.4921, allocations: 329 kB / 497.6 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4923, allocations: 121.4 kB / 497.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4925, allocations: 173.2 kB / 497.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.4927, allocations: 109.4 kB / 498 MB, free: 2.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4927, allocations: 3.953 kB / 498 MB, free: 2.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007543/0.4935, allocations: 0.5022 MB / 498.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4935, allocations: 11.95 kB / 498.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4935, allocations: 0 / 498.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.494, allocations: 248.3 kB / 498.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.4942, allocations: 59.03 kB / 498.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000557/0.4948, allocations: 0.7426 MB / 499.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.495, allocations: 53.55 kB / 499.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.4951, allocations: 16.81 kB / 499.7 MB, free: 1.133 MB / 330.7 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,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.4952, allocations: 144.6 kB / 499.8 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.4953, allocations: 27.7 kB / 499.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.4954, allocations: 33.16 kB / 499.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4954, allocations: 8 kB / 499.9 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4954, allocations: 0 / 499.9 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4954, allocations: 3.984 kB / 499.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.497, allocations: 1.005 MB / 0.4891 GB, free: 88 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.497, allocations: 4.031 kB / 0.4891 GB, free: 84 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4973, allocations: 51.91 kB / 0.4892 GB, free: 32 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.4977, allocations: 222.8 kB / 0.4894 GB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.4978, allocations: 15.11 kB / 0.4894 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/0.4985, allocations: 0.7114 MB / 0.4901 GB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4985, allocations: 0 / 0.4901 GB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4997, allocations: 0.6974 MB / 0.4908 GB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.4998, allocations: 131 kB / 0.4909 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.4999, allocations: 14.55 kB / 0.4909 GB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.5002, allocations: 46.61 kB / 0.491 GB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5003, allocations: 57.75 kB / 0.491 GB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.5003, allocations: 11.44 kB / 0.491 GB, free: 14.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.5005, allocations: 146.3 kB / 0.4912 GB, free: 14.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5005, allocations: 0 / 0.4912 GB, free: 14.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.5009, allocations: 81.67 kB / 0.4913 GB, free: 14.17 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002341/0.5012, allocations: 126.3 kB / 0.4914 GB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.5019, allocations: 317.2 kB / 0.4917 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5019, allocations: 0 / 0.4917 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.5022, allocations: 174.8 kB / 0.4919 GB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5025, allocations: 23.91 kB / 0.4919 GB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.5046, allocations: 0.9336 MB / 0.4928 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.505, allocations: 0.7606 MB / 0.4935 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.379e-05/0.5051, allocations: 26.27 kB / 0.4936 GB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.5051, allocations: 19.44 kB / 0.4936 GB, free: 11.94 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5052, allocations: 0 / 0.4936 GB, free: 11.94 MB / 346.7 MB Notification: Performance of Templates: time 0.008822/0.514, allocations: 4.161 MB / 0.4976 GB, free: 7.801 MB / 346.7 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)