Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion") translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008235/0.008235, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.513/1.513, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001627/0.001627, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1999/0.1999, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 18 kB / 406.2 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 54.86 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.561, allocations: 96.37 MB / 0.5443 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5613, allocations: 73.19 kB / 0.5444 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1694/0.7307, allocations: 63.8 MB / 0.6067 GB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7307, allocations: 0 / 0.6067 GB, free: 3.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002236/0.731, allocations: 75.69 kB / 0.6068 GB, free: 3.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.01155/0.7425, allocations: 3.114 MB / 0.6098 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.7426, allocations: 8.031 kB / 0.6098 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.7457, allocations: 411.8 kB / 0.6102 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/0.7511, allocations: 1.311 MB / 0.6115 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0015/0.7527, allocations: 0.5839 MB / 0.6121 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.7548, allocations: 314.5 kB / 0.6124 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.7674, allocations: 3.37 MB / 0.6157 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/0.7679, allocations: 32.52 kB / 0.6157 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.7694, allocations: 116.2 kB / 0.6158 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.7696, allocations: 72 kB / 0.6159 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.7799, allocations: 3.489 MB / 0.6193 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.8046, allocations: 9.782 MB / 0.6288 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.8119, allocations: 3.137 MB / 0.6319 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.8126, allocations: 239.8 kB / 0.6321 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.8127, allocations: 89.25 kB / 0.6322 GB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=366): time 7.955e-06/0.8128, allocations: 0 / 0.6322 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=429): time 0.05414/0.8669, allocations: 21.35 MB / 0.6531 GB, free: 4.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004052/0.8674, allocations: 0.6084 MB / 0.6537 GB, free: 3.664 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.8708, allocations: 1.322 MB / 0.6549 GB, free: 2.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001157/0.872, allocations: 125.7 kB / 0.6551 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.8731, allocations: 0.9032 MB / 0.6559 GB, free: 1.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002554/0.8757, allocations: 1.434 MB / 0.6573 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009683/0.8767, allocations: 83.98 kB / 0.6574 GB, free: 15.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000469/0.8771, allocations: 467 kB / 0.6579 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/0.8815, allocations: 1.441 MB / 0.6593 GB, free: 13.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/0.8861, allocations: 2.169 MB / 0.6614 GB, free: 11.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/0.8906, allocations: 1.451 MB / 0.6628 GB, free: 9.988 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-05/0.8906, allocations: 4 kB / 0.6628 GB, free: 9.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01395/0.9046, allocations: 4.83 MB / 0.6675 GB, free: 5.125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.9047, allocations: 12 kB / 0.6675 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.522e-05/0.9048, allocations: 28 kB / 0.6676 GB, free: 5.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004769/0.9096, allocations: 1.781 MB / 0.6693 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/0.9134, allocations: 0.8035 MB / 0.6701 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/0.9371, allocations: 16.56 MB / 0.6863 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/0.9416, allocations: 379.7 kB / 0.6866 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/0.9429, allocations: 183.9 kB / 0.6868 GB, free: 488 kB / 458.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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,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,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,bearingFriction.free,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,1 12,1 6,1 6,2 22,2 22,2 25,2 24} Notification: Performance of prepare postOptimizeDAE: time 0.0034/0.9463, allocations: 0.6064 MB / 0.6874 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/0.9477, allocations: 296.4 kB / 0.6877 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.952, allocations: 1.59 MB / 0.6892 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/0.952, allocations: 47.98 kB / 0.6893 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/0.9521, allocations: 8 kB / 0.6893 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/0.9521, allocations: 23.92 kB / 0.6893 GB, free: 13.86 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02479/0.9769, allocations: 10.42 MB / 0.6995 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.977, allocations: 12.09 kB / 0.6995 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/0.9804, allocations: 0.7374 MB / 0.7002 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004393/0.9848, allocations: 1.644 MB / 0.7018 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/0.9854, allocations: 135.8 kB / 0.7019 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2876/1.273, allocations: 16.02 MB / 0.7176 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.982e-05/1.273, allocations: 14.62 kB / 0.7176 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.291, allocations: 8.495 MB / 0.7259 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.294, allocations: 0.7108 MB / 0.7266 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008007/1.295, allocations: 112.6 kB / 0.7267 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.299, allocations: 352.4 kB / 0.727 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/1.3, allocations: 0.6084 MB / 0.7276 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/1.3, allocations: 165.3 kB / 0.7278 GB, free: 128.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001812/1.302, allocations: 1.009 MB / 0.7288 GB, free: 128.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.302, allocations: 0 / 0.7288 GB, free: 128.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005075/1.307, allocations: 0.9855 MB / 0.7297 GB, free: 128.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 293 * 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.0007874/1.308, allocations: 323.6 kB / 0.73 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.319, allocations: 5.044 MB / 0.735 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.319, allocations: 3.969 kB / 0.735 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008871/1.328, allocations: 3.977 MB / 0.7389 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/1.332, allocations: 377.6 kB / 0.7392 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.349, allocations: 9.311 MB / 0.7483 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/1.351, allocations: 1.894 MB / 0.7502 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002512/1.354, allocations: 449.1 kB / 0.7506 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.355, allocations: 236.3 kB / 0.7508 GB, free: 121.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.355, allocations: 0 / 0.7508 GB, free: 121.5 MB / 490.7 MB Notification: Performance of Templates: time 0.08728/1.442, allocations: 51.73 MB / 0.8013 GB, free: 96.52 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion.pipe 2>&1)