Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.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.TestBearingConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion") translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001238/0.001238, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.204/1.204, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001713/0.001713, allocations: 103.5 kB / 223.2 MB, free: 4.117 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.2076/0.2076, allocations: 38.01 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.103e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5324, allocations: 89.99 MB / 495.7 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5327, allocations: 60.88 kB / 495.7 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1669/0.6997, allocations: 63.85 MB / 0.5465 GB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6997, allocations: 0 / 0.5465 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001486/0.6999, allocations: 63.98 kB / 0.5465 GB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 717 * Number of variables: 717 Notification: Performance of Generate backend data structure: time 0.008584/0.7085, allocations: 2.91 MB / 0.5494 GB, free: 7.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.7085, allocations: 8.031 kB / 0.5494 GB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.7112, allocations: 411.8 kB / 0.5498 GB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.7144, allocations: 1.299 MB / 0.551 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008916/0.7153, allocations: 0.5845 MB / 0.5516 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008245/0.7162, allocations: 307.7 kB / 0.5519 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006169/0.7224, allocations: 3.18 MB / 0.555 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.7226, allocations: 39.61 kB / 0.555 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.7229, allocations: 116 kB / 0.5552 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/0.723, allocations: 79.98 kB / 0.5552 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005984/0.7289, allocations: 3.16 MB / 0.5583 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.7503, allocations: 9.639 MB / 0.5677 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00603/0.7564, allocations: 2.906 MB / 0.5706 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/0.7602, allocations: 1.558 MB / 0.5721 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.7606, allocations: 57.33 kB / 0.5721 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.7608, allocations: 92.38 kB / 0.5722 GB, free: 14.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=359): time 8.286e-06/0.7608, allocations: 7.875 kB / 0.5722 GB, free: 14.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=421): time 0.0351/0.7959, allocations: 17.07 MB / 0.5889 GB, free: 12.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004694/0.7964, allocations: 0.5659 MB / 0.5895 GB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.7991, allocations: 1.352 MB / 0.5908 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009806/0.8001, allocations: 117.7 kB / 0.5909 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008664/0.801, allocations: 0.9268 MB / 0.5918 GB, free: 9.707 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/0.8029, allocations: 1.406 MB / 0.5932 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.8032, allocations: 91.94 kB / 0.5933 GB, free: 8.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/0.8036, allocations: 464.3 kB / 0.5937 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.8064, allocations: 1.395 MB / 0.5951 GB, free: 6.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.8094, allocations: 2.125 MB / 0.5971 GB, free: 3.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.8118, allocations: 1.414 MB / 0.5985 GB, free: 2.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8119, allocations: 8 kB / 0.5985 GB, free: 2.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.008981/0.8208, allocations: 4.959 MB / 0.6034 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.8209, allocations: 12 kB / 0.6034 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/0.821, allocations: 20 kB / 0.6034 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004143/0.8251, allocations: 1.96 MB / 0.6053 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.8284, allocations: 0.8152 MB / 0.6061 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2661/1.095, allocations: 16.35 MB / 0.6221 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/1.099, allocations: 380.8 kB / 0.6225 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.1, allocations: 187.3 kB / 0.6226 GB, free: 101.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 60 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,$PRE.gear2_2.lossyGear.mode,gear2_2.lossyGear.mode,gear2_2.lossyGear.ideal,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,$PRE.lossyGear1.mode,lossyGear1.mode,lossyGear1.ideal,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 391 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 8 {2 22,2 22,2 25,2 24,1 6,1 6,1 12,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001483/1.102, allocations: 365.6 kB / 0.623 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.103, allocations: 291.2 kB / 0.6233 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.104, allocations: 0.5979 MB / 0.6238 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/1.104, allocations: 46.94 kB / 0.6239 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/1.104, allocations: 5.781 kB / 0.6239 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/1.105, allocations: 30.56 kB / 0.6239 GB, free: 101.7 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.124, allocations: 10.18 MB / 0.6339 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.124, allocations: 8.344 kB / 0.6339 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/1.127, allocations: 0.7264 MB / 0.6346 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/1.131, allocations: 1.853 MB / 0.6364 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004666/1.132, allocations: 131 kB / 0.6365 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/1.148, allocations: 15.84 MB / 0.652 GB, free: 89.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.148, allocations: 10.84 kB / 0.652 GB, free: 89.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.159, allocations: 7.86 MB / 0.6597 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.16, allocations: 0.7114 MB / 0.6604 GB, free: 85.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008121/1.161, allocations: 108.8 kB / 0.6605 GB, free: 85.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/1.165, allocations: 348.7 kB / 0.6608 GB, free: 85.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/1.166, allocations: 0.6044 MB / 0.6614 GB, free: 85.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004161/1.167, allocations: 170.1 kB / 0.6615 GB, free: 85.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001772/1.168, allocations: 1.011 MB / 0.6625 GB, free: 84.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.168, allocations: 3.156 kB / 0.6625 GB, free: 84.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005032/1.173, allocations: 1.016 MB / 0.6635 GB, free: 84.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 40 (slidingMass1.s,slidingMass1.v,slidingMass.s,slidingMass.v,inertia21.phi,inertia21.w,linearSpeedDependentTorque.phi,inertia20.w,position4.phi,position4.w,position5.phi,position5.w,position2.phi,position2.w,position3.phi,position3.w,gear2_2.phi_rel,gear2_2.w_rel,inertia11.phi,inertia11.w,position.phi,position.w,position1.phi,position1.w,gear2_1.phi_rel,gear2_1.w_rel,inertia9.phi,inertia9.w,inertia7.phi,inertia7.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,brake1.phi,inertia3.w,inertia.phi,inertia.w,inertia1.w,bearingFriction1.phi) * Number of discrete variables: 38 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,gear2_2.lossyGear.mode,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,lossyGear1.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 16 (bearingFriction1.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward,lossyGear.mode,lossyGear1.mode,gear2_1.lossyGear.mode,gear2_2.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 289 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {2 21,2 21,2 23,2 23,1 5,1 5,1 9,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.175, allocations: 346.7 kB / 0.6639 GB, free: 84.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008271/1.183, allocations: 4.612 MB / 0.6684 GB, free: 82.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.183, allocations: 8.656 kB / 0.6684 GB, free: 82.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.189, allocations: 3.629 MB / 0.6719 GB, free: 80.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.192, allocations: 380.3 kB / 0.6723 GB, free: 80.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.204, allocations: 6.979 MB / 0.6791 GB, free: 76.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/1.206, allocations: 1.897 MB / 0.681 GB, free: 75.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002149/1.209, allocations: 465.8 kB / 0.6814 GB, free: 75.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.21, allocations: 234.7 kB / 0.6816 GB, free: 75.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/1.21, allocations: 4 kB / 0.6816 GB, free: 75.81 MB / 426.7 MB Notification: Performance of Templates: time 0.07219/1.282, allocations: 51.6 MB / 0.732 GB, free: 35.71 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion.pipe 2>&1)