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.001436/0.001436, allocations: 182.3 kB / 12.74 MB, free: 2.582 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.792/1.792, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001668/0.001668, allocations: 115.4 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2051/0.2051, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.425e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5787, allocations: 96.29 MB / 0.5385 GB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.579, allocations: 60.22 kB / 0.5386 GB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1821/0.7612, allocations: 63.79 MB / 0.6009 GB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7612, allocations: 0 / 0.6009 GB, free: 3.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.7614, allocations: 67.98 kB / 0.6009 GB, free: 3.715 MB / 410.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.007325/0.7687, allocations: 2.864 MB / 0.6037 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.7687, allocations: 12.03 kB / 0.6037 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.7703, allocations: 415.8 kB / 0.6041 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.7728, allocations: 1.294 MB / 0.6054 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007812/0.7736, allocations: 0.5806 MB / 0.606 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.7742, allocations: 315.6 kB / 0.6063 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005845/0.78, allocations: 3.158 MB / 0.6093 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.7801, allocations: 43.64 kB / 0.6094 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.7805, allocations: 112 kB / 0.6095 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.7805, allocations: 72 kB / 0.6096 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.7858, allocations: 3.084 MB / 0.6126 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.8045, allocations: 9.798 MB / 0.6221 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.8096, allocations: 2.915 MB / 0.625 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.8125, allocations: 1.561 MB / 0.6265 GB, free: 8.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/0.8129, allocations: 239.3 kB / 0.6267 GB, free: 8.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.605e-05/0.813, allocations: 96.16 kB / 0.6268 GB, free: 8.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=366): time 6.242e-06/0.813, allocations: 4 kB / 0.6268 GB, free: 8.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=429): time 0.0281/0.8411, allocations: 17.42 MB / 0.6438 GB, free: 5.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.8414, allocations: 0.6166 MB / 0.6444 GB, free: 5.102 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.8433, allocations: 1.291 MB / 0.6457 GB, free: 3.812 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007438/0.8441, allocations: 121.7 kB / 0.6458 GB, free: 3.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007362/0.8448, allocations: 0.8998 MB / 0.6467 GB, free: 2.773 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.8462, allocations: 1.44 MB / 0.6481 GB, free: 1.312 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.8465, allocations: 95.88 kB / 0.6482 GB, free: 1.219 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.8467, allocations: 467 kB / 0.6486 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.8491, allocations: 1.348 MB / 0.65 GB, free: 15.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.8521, allocations: 2.075 MB / 0.652 GB, free: 13.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.8544, allocations: 1.361 MB / 0.6533 GB, free: 11.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.8544, allocations: 8 kB / 0.6533 GB, free: 11.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.008771/0.8632, allocations: 4.621 MB / 0.6578 GB, free: 7.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.8633, allocations: 12 kB / 0.6578 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-05/0.8633, allocations: 23.98 kB / 0.6579 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.8676, allocations: 1.734 MB / 0.6596 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.8711, allocations: 0.8113 MB / 0.6604 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.361/1.232, allocations: 16.22 MB / 0.6762 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/1.237, allocations: 378.2 kB / 0.6766 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.238, allocations: 183.7 kB / 0.6767 GB, free: 116.5 MB / 474.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 () * 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.001682/1.24, allocations: 366.8 kB / 0.6771 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.241, allocations: 290.5 kB / 0.6774 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/1.246, allocations: 1.539 MB / 0.6789 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/1.246, allocations: 45.47 kB / 0.6789 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/1.246, allocations: 5.469 kB / 0.6789 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/1.246, allocations: 25.56 kB / 0.6789 GB, free: 116.2 MB / 474.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.03155/1.278, allocations: 10.08 MB / 0.6888 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.473e-05/1.278, allocations: 9.094 kB / 0.6888 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003938/1.282, allocations: 0.7348 MB / 0.6895 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/1.286, allocations: 1.592 MB / 0.6911 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001188/1.287, allocations: 141.3 kB / 0.6912 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/1.306, allocations: 15.72 MB / 0.7065 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/1.306, allocations: 18.05 kB / 0.7066 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.323, allocations: 7.858 MB / 0.7142 GB, free: 98.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/1.326, allocations: 0.7076 MB / 0.7149 GB, free: 97.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.327, allocations: 113.6 kB / 0.715 GB, free: 97.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/1.331, allocations: 352.5 kB / 0.7154 GB, free: 97.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/1.333, allocations: 0.6083 MB / 0.716 GB, free: 97.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005902/1.333, allocations: 165.1 kB / 0.7161 GB, free: 97.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001831/1.335, allocations: 0.9882 MB / 0.7171 GB, free: 97.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.335, allocations: 0 / 0.7171 GB, free: 97.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005991/1.341, allocations: 0.9892 MB / 0.7181 GB, free: 97.05 MB / 474.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) * 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.001025/1.342, allocations: 305.7 kB / 0.7183 GB, free: 96.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009144/1.351, allocations: 4.668 MB / 0.7229 GB, free: 94.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.351, allocations: 3.531 kB / 0.7229 GB, free: 94.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008355/1.36, allocations: 3.737 MB / 0.7266 GB, free: 92.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.365, allocations: 379 kB / 0.7269 GB, free: 92.56 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.382, allocations: 6.983 MB / 0.7337 GB, free: 88.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.385, allocations: 1.899 MB / 0.7356 GB, free: 88.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003855/1.389, allocations: 452.5 kB / 0.736 GB, free: 88.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.39, allocations: 234 kB / 0.7363 GB, free: 88 MB / 474.7 MB Notification: Performance of SimCode: time 3.807e-06/1.39, allocations: 7.828 kB / 0.7363 GB, free: 87.99 MB / 474.7 MB Notification: Performance of Templates: time 0.09318/1.483, allocations: 51.72 MB / 0.7868 GB, free: 46.62 MB / 474.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)